Qshell Interpreter (qsh) - FTP Directory Listing - IBM
Qshell Interpreter (qsh) - FTP Directory Listing - IBM
Qshell Interpreter (qsh) - FTP Directory Listing - IBM
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Operands<br />
Exit Status<br />
Related Information<br />
Examples<br />
If additional arguments are specified, the first is used as the name of the input file<br />
which is to be split. If a second additional argument is specified, it is used as a<br />
prefix for the names of the files into which the file is split. In this case, each file into<br />
which the file is split is named by the prefix followed by a lexically ordered suffix in<br />
the range of “aa-zz”. If the name argument is not specified, the default prefix is “x”.<br />
The maximum number of possible output file names is 676.<br />
v 0 if successful<br />
v >0 if an error occurs<br />
v grep - Search a file for a pattern<br />
v uniq - Report or filter out repeated lines in a file<br />
1. Split the file jdk_v11.jar into files that are 1.44MB in size and use the prefix<br />
“jdk_v11.”. for the output files.<br />
split -b1440k jdk_v11.jar jdk_v11.<br />
2. Split the file myapp.java into files of 100 lines each.<br />
split -l 100 myapp.java<br />
[ Legal | AS/400 Glossary ]<br />
uniq - Report or filter out repeated lines in a file<br />
Synopsis<br />
Description<br />
Options<br />
uniq [-c | -du] [-f fields] [-s chars] [input_file [output_file]]<br />
The uniq utility reads the standard input comparing adjacent lines, and writes a<br />
copy of each unique input line to the standard output. The second and succeeding<br />
copies of identical adjacent input lines are not written. Repeated lines in the input<br />
will not be detected if they are not adjacent, so it may be necessary to sort the files<br />
first.<br />
-c Precede each output line with the count of the number of times the line<br />
occurred in the input, followed by a single space.<br />
-d Suppress the writing of lines that are not repeated in the input.<br />
-f Ignore the first fields in each input line when doing comparisons. A field is a<br />
string of non-blank characters separated from adjacent fields by blanks.<br />
Field numbers are one based, i.e. the first field is field one.<br />
Chapter 4. Utilities 41