![]() |
|
|
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 |
| Shell Script to save/restore files and dir permissions | joangopan | Shell Programming and Scripting | 1 | 01-13-2009 10:48 AM |
| Script information needed | chris1234 | UNIX for Dummies Questions & Answers | 3 | 12-17-2007 07:35 PM |
| Restore Script | Chrisp | Shell Programming and Scripting | 1 | 04-16-2007 05:00 AM |
| Script execution information | manthasirisha | Shell Programming and Scripting | 12 | 07-07-2006 09:54 AM |
| executing script not showing up in ps -efx | herman404 | Shell Programming and Scripting | 6 | 09-11-2005 10:00 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
not showing restore information while run script
Hello,
I have the following script to restore file and grep information. However, once it restore file, it showing a lot useless information and different to check which file have the statement "John price $200". Can I not show any information while running script. It only show..when found the string? echo Please input list file name: read listn for file in `cat $listn.txt` do restore_file $file cat $file |grep "John price $200" done expect output: filename: XXXXXX found string: John price $200 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|