'\" t
.\"     Title: abs2rel
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\"      Date: 11/20/2015
.\"    Manual: Java Packages Tools
.\"    Source: JAVAPACKAGES
.\"  Language: English
.\"
.TH "ABS2REL" "1" "11/20/2015" "JAVAPACKAGES" "Java Packages Tools"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
abs2rel \- convert absolute path to relative path
.SH "SYNOPSIS"
.sp
\fBabs2rel\fR path base
.SH "DESCRIPTION"
.sp
The \fBabs2rel\fR command takes exactly two arguments \- a destination path and a base path\&. It determines relative path from the base path to the destination path and prints it on standard output\&.
.SH "EXAMPLES"
.sp
\fBabs2rel /1/2/3/a/b/c /1/2/3\fR will print \fBa/b/c\fR on standard output\&.
.sp
\fBabs2rel foo/bar foo/baz\fR will print \fB\&.\&./bar\fR on standard output\&.
.SH "REPORTING BUGS"
.sp
Bugs should be reported through Red Hat Bugzilla at \m[blue]\fBhttp://bugzilla\&.redhat\&.com/\fR\m[]\&.
