![]() |
|
|
|
|
|||||||
| 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. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Script to remove all empty files within the directory structure? | cat123 | Shell Programming and Scripting | 5 | 06-05-2008 06:01 AM |
| remove empty directory | sirrtuan | Shell Programming and Scripting | 6 | 03-04-2008 05:50 AM |
| Shell Script using Join, empty field help! | tibbyuk | UNIX for Dummies Questions & Answers | 1 | 02-25-2008 08:33 AM |
| remove space in front or end of each field | happyv | Shell Programming and Scripting | 6 | 03-21-2007 10:05 PM |
| Remove non empty dirctory | adol3 | SUN Solaris | 5 | 12-13-2005 10:23 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Awk scrip to remove empty field
Hi
I have a file which looks like this name: Sally group: Group4 name: Tim group: Group1 name: Dan group: Group2 name: Chris group: Group3 name: Peter group: name: Fred group: name: Mary group: Group2 Well I want to get rid of the ones that the group are empty looking like this name: Sally group: Group4 name: Tim group: Group1 name: Dan group: Group2 name: Chris group: Group3 name: Mary group: Group2 Thanks |
| Forum Sponsor | ||
|
|