diff -rN -u old-abspath/abspath.1.txt new-abspath/abspath.1.txt --- old-abspath/abspath.1.txt 2007-12-28 23:11:59.000000000 +0100 +++ new-abspath/abspath.1.txt 2007-12-28 23:11:59.000000000 +0100 @@ -35,21 +35,21 @@ -------- The following example is ran in /etc. The path returned is the obsolute path of the file:: - +. -------------------------------------- $ abspath passwd /etc/passwd -------------------------------------- An example with an absolute path. The path is only simplified:: - +. -------------------------------------- $ abspath /etc///./../mnt/ /mnt -------------------------------------- The `--real-path` eliminate the symbolic links in the path. The next examples are ran in /etc:: - +. -------------------------------------- $ abspath ../usr/sbin/sendmail /usr/sbin/sendmail