![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Printing value with no obvious field seperator | Donkey25 | Shell Programming and Scripting | 4 | 03-14-2008 02:57 AM |
| sort columns by field | kamel.seg | Shell Programming and Scripting | 4 | 02-20-2008 02:50 AM |
| How to change field seperator | onthetopo | Shell Programming and Scripting | 2 | 05-11-2007 09:11 AM |
| regexp to print after a field seperator | ramky79 | Shell Programming and Scripting | 7 | 05-09-2007 03:31 PM |
| Awk Field Seperator Help | insania | Shell Programming and Scripting | 3 | 11-11-2005 12:29 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
find columns with whitespace as field seperator?
Hai
I am using bash-2.03$ bash --version GNU bash, version 2.03.0(1)-release (sparc-sun-solaris) I am not able to use gawk command its showing command not found , why ? Eg: awk 'NR==1' fix.txt | gawk 'BEGIN { FIELDWIDTHS = "3 2" } { printf($1"|"$2); }' --------------------------------------- bash: gawk: command not found Broken Pipe I want to find num of columns with whitespace as field seperator, is it possible with awk Thank u |
| Forum Sponsor | ||
|
|
|
|||
|
Quote:
So, may I know what is your expected output from the input file considering the null space also as a separator ? |