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

Diff for /src/usr.bin/paste/paste.1 between version 1.14 and 1.15

version 1.14, 2010/09/03 11:09:29 version 1.15, 2017/06/28 14:49:26
Line 111 
Line 111 
 .Ex -std paste  .Ex -std paste
 .Sh EXAMPLES  .Sh EXAMPLES
 List the files in the current directory in three columns:  List the files in the current directory in three columns:
   .Bd -literal -offset indent
   $ ls | paste - - -
   $ ls | paste -s -d '\et\et\en' -
   .Ed
 .Pp  .Pp
 .Dl "$ ls | paste - - -"  
 .Pp  
 Combine pairs of lines from  Combine pairs of lines from
 .Ar file  .Ar file
 into single lines:  into single lines:
   .Bd -literal -offset indent
   $ paste - - < file
   $ paste -s -d '\et\en' file
   .Ed
 .Pp  .Pp
 .Dl "$ paste -s -d '\et\en' file"  
 .Pp  
 Number the lines in  Number the lines in
 .Ar file ,  .Ar file ,
 similar to  similar to
 .Ql cat -n :  .Ql cat -n :
 .Pp  .Bd -literal -offset indent
 .Dl "$ sed = file | paste -s -d '\et\en' - -"  $ sed = file | paste - -
   $ sed = file | paste -s -d '\et\en' -
   .Ed
 .Pp  .Pp
 Create a colon-separated list of directories named  Create a colon-separated list of directories named
 .Pa bin ,  .Pa bin ,

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.15