Unix/Linux Go Back    

Plan 9 - man page for split (plan9 section 1)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)

SPLIT(1)										 SPLIT(1)

       split - split a file into pieces

       split [ option ...  ] [ file ]

       Split  reads  file  (standard  input by default) and writes it in pieces of 1000 lines per
       output file.  The names of the output files are xaa, xab, and so on to xzz.   The  options

       -n     Split into n-line pieces.

       -e expression
	      File divisions occur at each line that matches a regular expression; see regexp(6).
	      Multiple -e options may appear.  If a subexpression of expression is  contained  in
	      parentheses  (...),  the	output file name is the portion of the line which matches
	      the subexpression.

       -f stem
	      Use stem instead of x in output file names.

       -s suffix
	      Append suffix to names identified under -e.

       -x     Exclude the matched input line from the output file.

       -i     Ignore case in option -e; force output file names (excluding the suffix)	to  lower


       sed(1), awk(1) grep(1), regexp(6)

Unix & Linux Commands & Man Pages : 2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 07:07 PM.