16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

spell<br />

Limits<br />

Portability<br />

Related Information<br />

sort, vi<br />

Input lines in the text being checked are restricted to a maximum of 100 characters.<br />

X/Open Portability Guide, <strong>UNIX</strong> systems.<br />

The –d, –f, –h, –i, –l, and –u options are extensions of the P<strong>OS</strong>IX standard.<br />

split — Split a file into manageable pieces<br />

Format<br />

Description<br />

Options<br />

Localization<br />

Exit Values<br />

split [–a n] [–l n] [file [prefix]]<br />

split –b n[bkm] [–a n] [file [prefix]]<br />

split [–n] [–a n] file [prefix]<br />

split breaks a file up into a set of files. It starts a new file every time it has copied<br />

1000 lines.<br />

split names the files that it creates as a prefix followed by a suffix. x is the prefix<br />

unless you specify a different prefix on the command line. Unless altered by the<br />

following options, the suffix begins as aa and is incremented with each new file. By<br />

default, therefore, the first file is xaa followed by xab, and so on.<br />

–a n Uses a suffix n letters long. The default is two.<br />

–b n[bkm]<br />

Splits the file every n units. The default unit size is bytes. When you follow<br />

n with b, k, or m, split uses a corresponding unit size of 512 bytes, 1K<br />

(1024 bytes), or 1 megabyte (1 048 576 bytes).<br />

–l n Splits the file every n lines.<br />

–n Is an obsolescent version of the –l option.<br />

If the file is – (dash) or if no file is specified, split reads the standard input (stdin).<br />

split uses the following localization environment variables:<br />

v LANG<br />

v LC_ALL<br />

v LC_CTYPE<br />

v LC_MESSAGES<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 Successful completion<br />

596 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!