![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Printing value with no obvious field seperator | Donkey25 | Shell Programming and Scripting | 4 | 03-14-2008 06:57 AM |
| sort columns by field | kamel.seg | Shell Programming and Scripting | 4 | 02-20-2008 06:50 AM |
| How to change field seperator | onthetopo | Shell Programming and Scripting | 2 | 05-11-2007 01:11 PM |
| regexp to print after a field seperator | ramky79 | Shell Programming and Scripting | 7 | 05-09-2007 07:31 PM |
| Awk Field Seperator Help | insania | Shell Programming and Scripting | 3 | 11-11-2005 04:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
||||
|
Quote:
![]() So, may I know what is your expected output from the input file considering the null space also as a separator ? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|