![]() |
|
|
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 |
| display the result of wc -l with words before and after the result | melanie_pfefer | UNIX for Dummies Questions & Answers | 3 | 04-30-2008 08:33 AM |
| Outputting formatted Result log file from old 30000 lines result log<help required> | vikas.iet | Shell Programming and Scripting | 5 | 12-02-2007 10:43 PM |
| User defined service | markdrury | UNIX for Dummies Questions & Answers | 1 | 02-09-2006 01:08 AM |
| pre defined variables | sumsin | High Level Programming | 7 | 11-30-2005 12:13 PM |
| User defined signal 1 | nitesh_raj | AIX | 0 | 01-29-2005 02:20 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
defined value not showing....in the result
Hi,
PLMN=APPLE awk ' /is missing/ { flag=1;print > "fruit_output_m1.txt" } END { if( flag != 1 ) print "No $PLMN in the store." > "fruit_output_n1.txt" } ' fruit_result.txt The output is: No $PLMN in the store. Should be: No APPLE in the store. Please help!! |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|