![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | 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 and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Extract some common fields from 1 file that are presnt in another file | unxusr123 | UNIX for Dummies Questions & Answers | 1 | 06-11-2008 03:33 AM |
| How to search for two fields | jisha | Shell Programming and Scripting | 3 | 04-23-2008 06:16 AM |
| search and replace different fields | tungaw2004 | UNIX for Dummies Questions & Answers | 3 | 03-29-2007 04:16 AM |
| help me to count no of fields in a file | babu@shell | Shell Programming and Scripting | 7 | 10-31-2006 01:36 AM |
| How to add fields in a file | bjorb | Shell Programming and Scripting | 2 | 10-13-2005 09:11 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
search fields within a file
I need to be able to search multiple fields within a file that contain blank (nothing).
Not sure what command to use? thought it would be grep but not sure how to write it The reason is i have a script that when it does this and identifies a field which has a blank it errors out of the script and stops running. Any help would be appreciated ![]() |
|
||||
|
I have 8 fields to search on within a 20 field file. The sizes of them vary from 3 - 50 bytes
The file i am reading in is a csv file see sample entrant below: "hello","xxxx1","Mr","J","","Smith","","","17 Somewhere Drive","nowhere","","","","sometown","pp1 ppi","08AM30","","","","" |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|