[BACK]Return to readlink.1 CVS log [TXT][DIR] Up to [local] / src / usr.bin / readlink

Diff for /src/usr.bin/readlink/readlink.1 between version 1.8 and 1.9

version 1.8, 2003/06/03 02:56:15 version 1.9, 2005/04/03 19:00:01
Line 46 
Line 46 
 utility when invoked with the pathname of a symbolic link as its  utility when invoked with the pathname of a symbolic link as its
 argument dereferences the symbolic link and prints the name of target  argument dereferences the symbolic link and prints the name of target
 on standard output.  on standard output.
 If readlink is invoked with an argument other  If the
   .Fl f
   option is not specified and
   .Nm
   is invoked with an argument other
 than the pathname of a symbolic link, it exits with a nonzero exit  than the pathname of a symbolic link, it exits with a nonzero exit
 code without printing anything.  code without printing anything.
 .Pp  .Pp
Line 55 
Line 59 
 .It Fl f  .It Fl f
 Canonicalize by following every symlink in every component of the given  Canonicalize by following every symlink in every component of the given
 path recursively.  path recursively.
   .Nm
   will resolve both absolute and relative paths and
   return the absolute pathname corresponding to
   .Ar file .
   The argument does not need to be a symbolic link.
 .It Fl n  .It Fl n
 Do not print a trailing newline character.  Do not print a trailing newline character.
 .El  .El
Line 63 
Line 72 
 .Nm  .Nm
 utility exits 0 on success or >0 if an error occurred.  utility exits 0 on success or >0 if an error occurred.
 .Sh SEE ALSO  .Sh SEE ALSO
 .Xr readlink 2  .Xr readlink 2 ,
   .Xr realpath 2
 .Sh HISTORY  .Sh HISTORY
 The  The
 .Nm  .Nm

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9