![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Awk??
Hello all, I have a most complex problem.
I have a file with many entries of the format : option1|option2|nonsense|rubbish:unuseful_data [option3]: useless_info=[option4] My question is: Is it possible to pick out options 1-4 into a single file for further processing? Thanks Khoom |
| Forum Sponsor | ||
|
|
|
||||
|
FS is the input field separator (see Specifying how Fields are Separated ). The value is a single-character string or a multi-character regular expression that matches the separations between fields in an input record.
|
||||
| Google The UNIX and Linux Forums |