Linux repositories inspector

abs2rel(1)

JAVAPACKAGES
01/29/2020

javapackages-tools

Macros and scripts for Java packaging support

javapackages-local

Non-essential macros and scripts for Java packaging support

NAME

abs2rel - convert absolute path to relative path

SYNOPSIS

abs2rel path base

DESCRIPTION

The abs2rel 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.

EXAMPLES

abs2rel /1/2/3/a/b/c /1/2/3 will print a/b/c on standard output.
abs2rel foo/bar foo/baz will print ../bar on standard output.

AUTHOR

Written by Mikolaj Izdebski.

REPORTING BUGS

Bugs should be reported through Java Packages Tools issue tracker at Github: \m[blue]https://github.com/fedora-java/javapackages/issues\m[].
⇧ Top