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

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

version 1.8, 1999/06/05 01:21:31 version 1.9, 2000/03/08 03:11:31
Line 82 
Line 82 
 populated with real files but instead with symbolic links pointing at  populated with real files but instead with symbolic links pointing at
 the real files in the  the real files in the
 .Ar fromdir  .Ar fromdir
 directory tree.  This is usually useful for maintaining source code for  directory tree.
 different machine architectures.  You create a shadow directory  This is usually useful for maintaining source code for
   different machine architectures.
   You create a shadow directory
 containing links to the real source, which you will have usually  containing links to the real source, which you will have usually
 mounted from a remote machine.  You can build in the shadow tree, and  mounted from a remote machine.
   You can build in the shadow tree, and
 the object files will be in the shadow directory, while the  the object files will be in the shadow directory, while the
 source files in the shadow directory are just symlinks to the real  source files in the shadow directory are just symlinks to the real
 files.  files.
Line 97 
Line 100 
 .Pp  .Pp
 The  The
 .Ar todir  .Ar todir
 argument is optional and defaults to the current directory.  The  argument is optional and defaults to the current directory.
   The
 .Ar fromdir  .Ar fromdir
 argument may be relative (e.g., ../src) and is relative to  argument may be relative (e.g.,
   .Pa \&.\&./src )
   and is relative to
 .Ar todir  .Ar todir
 (not the current directory).  (not the current directory).
 .Pp  .Pp
Line 111 
Line 117 
 .Pp  .Pp
 If you add files, simply run  If you add files, simply run
 .Nm lndir  .Nm lndir
 again.  New files will be silently added.  Old files will be  again.
   New files will be silently added.
   Old files will be
 checked that they have the correct link.  checked that they have the correct link.
 .Pp  .Pp
 Deleting files is a more painful problem; the symlinks will  Deleting files is a more painful problem; the symlinks will
Line 128 
Line 136 
 The  The
 .Fl i  .Fl i
 flag changes this behavior.  flag changes this behavior.
 .Sh OPTIONS  .Pp
   The options are as follows:
 .Bl -tag -width XxXXXXXXXXXXXX  .Bl -tag -width XxXXXXXXXXXXXX
 .It Fl e Ar exceptfile  .It Fl e Ar exceptfile
 Add the specified file to the list of excluded files/directories.  This is  Add the specified file to the list of excluded files/directories.
   This is
 effective in all directories searched by  effective in all directories searched by
 .Nm lndir .  .Nm lndir .
 This option may be specified as many times as needed.  This option may be specified as many times as needed.
Line 142 
Line 152 
 .It Fl i  .It Fl i
 Causes the program to not treat symbolic links in  Causes the program to not treat symbolic links in
 .Ar fromdir  .Ar fromdir
 specially.  The link created in  specially.
   The link created in
 .Ar todir  .Ar todir
 will point back to the corresponding (symbolic link) file in  will point back to the corresponding (symbolic link) file in
 .Ar fromdir .  .Ar fromdir .
Line 150 
Line 161 
 .Pp  .Pp
 This option exists mostly to emulate the behavior the C version of  This option exists mostly to emulate the behavior the C version of
 .Nm lndir  .Nm lndir
 had in X11R6.  Its use is not recommended.  had in X11R6.
   Its use is not recommended.
 .El  .El
 .Sh DIAGNOSTICS  .Sh DIAGNOSTICS
 The program displays the name of each subdirectory it enters, followed  The program displays the name of each subdirectory it enters, followed
 by a colon.  The  by a colon.
   The
 .Fl s  .Fl s
 option suppresses these messages.  option suppresses these messages.
 .Pp  .Pp
Line 167 
Line 180 
 .Sh BUGS  .Sh BUGS
 The  The
 .Xr patch 1  .Xr patch 1
 program gets upset if it cannot change the files.  You should never run  program gets upset if it cannot change the files.
   You should never run
 .Xr patch 1  .Xr patch 1
 from a shadow directory anyway.  from a shadow directory anyway.
 .Pp  .Pp

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