Guys,
can you help me in doing cut first 21 and 32-35 characters from file.
I tried with cut -c to cut first 21 characters ,It is succeeded.
But i need both first 21 and 32-35.
Guys,
can you help me in doing cut first 21 and 32-35 characters from file.
I tried with cut -c to cut first 21 characters ,It is succeeded.
But i need both first 21 and 32-35.
'man cut' yields:
-c list
The list following -c specifies character positions
(for instance, -c1-72 would pass the first 72 charac-
ters of each line).
list A comma-separated or blank-character-separated list of
integer field numbers (in increasing order), with
optional - to indicate ranges (for instance, 1,4,7;
1-3,8; -5,10 (short for 1-5,10); or 3- (short for
third through last field)).