Quote:
Originally Posted by
CarloM
Check the man page for split - GNU split provides a numeric suffix option, not sure about AIX though.
AIX doesn't. The switches in AIX are just:
-a SuffixLength Specifies the number of letters to use in forming the suffix portion of the output name files. The number of letters determines the number of possible output filename combinations. The default is two letters.
-b Number Splits the file into the number of bytes specified by the
Number variable. Adding the
k (kilobyte) or
m (megabyte) multipliers to the end of the
Number value causes the file to be split into
Number*1024 or
Number*1,048,576 byte pieces, respectively.
-l LineCount Specifies the number of lines in each output file. The default is 1000 lines.