![]() |
|
|
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 |
| Read output of mii-tool | picoaeterna | Shell Programming and Scripting | 1 | 02-17-2008 07:27 PM |
| output string message to pipe | princelinux | High Level Programming | 3 | 08-18-2006 03:09 AM |
| Piping output to while read | Ultimodiablo | Shell Programming and Scripting | 3 | 11-26-2005 10:38 PM |
| store output to a file and read from it | afadaghi | Shell Programming and Scripting | 2 | 10-04-2005 01:00 PM |
| Output the message | ust | UNIX for Dummies Questions & Answers | 1 | 09-25-2005 09:35 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
read file and output message
hi,
I have a baby.txt file with two type of message: xxxxxxxx is missing xxxxxxxxxxx is not missing xxxx is missing xxxxxxxx is not missing xxxxxxxx is not missing For the above, I need to read file and get all "xxxx is missing" and write into baby_missing.txt. If no message "xxxxx is missing" in whole baby.txt, the script will write message "no file is missing in system" to baby_nomissing.txt is it possible? if yes..how? |
| Bookmarks |
| Tags |
| unix commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|