Query: split
OS: plan9
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SPLIT(1) General Commands Manual SPLIT(1)NAMEsplit - split a file into piecesSYNOPSISsplit [ option ... ] [ file ]DESCRIPTIONSplit 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 are -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 subex- pression of expression is contained in parentheses (...), the output file name is the portion of the line which matches the subex- pression. -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 case.SOURCE/sys/src/cmd/split.cSEE ALSOsed(1), awk(1) grep(1), regexp(6) SPLIT(1)
Related Man Pages |
---|
split(1) - opensolaris |
split(1) - hpux |
split(1) - osf1 |
split(1) - netbsd |
split(1) - osx |
Similar Topics in the Unix Linux Community |
---|
calling external values inside awk command |
Help with AWK and Scripting! |
Split line in to 3 lines |
Split binary file every occurrence of a group of characters |
Split a line into next line |