Search Results

Search: Posts Made By: johnsanty
2,027
Posted By agama
Solutions that do not rely on the fixed position...
Solutions that do not rely on the fixed position of the columns:

This will probably be a wee bit slower, but won't require any advance knowledge of the number of columns, nor their position. It...
2,027
Posted By rdcwayx
cut -c23- infile |awk '{print $1}'
cut -c23- infile |awk '{print $1}'
2,027
Posted By durden_tyler
A Perl solution: $ $ $ cat f30 ...
A Perl solution:


$
$
$ cat f30
col1 col2 col3 col4 col5
xdf sdee sdff cfdd
ddd rfg fgt grf drft
ddd rfg fgt grfffff drft
...
2,027
Posted By Shell_Life
See if this helps you: #!/usr/bin/ksh cut...
See if this helps you:
#!/usr/bin/ksh
cut -c23- File | while read mFourth mRest; do
echo ${mFourth}
done
2,027
Posted By bartus11
Maybe if you used code tags it would be...
Maybe if you used code tags it would be clearer... Check this video tutorial is you are not sure how to use code tags:...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 11:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy