![]() |
|
|
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 |
| Unix Arithmatic operation issue , datatype issue | thambi | Shell Programming and Scripting | 23 | 02-19-2008 07:19 AM |
| ftp issue | ravi raj kumar | Shell Programming and Scripting | 5 | 02-06-2008 08:24 AM |
| Issue with rsh | sriram.s | AIX | 5 | 07-03-2007 12:37 PM |
| FTP issue | u263066 | Shell Programming and Scripting | 1 | 07-28-2006 07:18 AM |
| FTP Issue, Help please | moe2266 | UNIX for Dummies Questions & Answers | 0 | 01-17-2006 10:54 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
awk issue on AIX
Hi, two teams at two locations - A & B. At location A, we have AIX 5.3 and at location B, we have AIX 5.1. We execute the below awk command in loc A and it executes successfully(part of a larger script). But the same does not get executed in the loc B server. We are not able to access the loc B server(for all odd reasons). the command is Code:
time_comjob=$(awk -v var1=$comptd_prog_name -v var2=$end_job_name '$0 ~ var1 {print $0; getline; while ( $6 !~ var2) {print; getline;} exit 0;}' $prev_logfile |grep -i "$comptd_prog_name.*terminated ok" |tail -1 |awk '{print $4}')
|
|
||||
|
Sorry guys, the issue we had was a terrible misunderstanding of the requirements. We had written the script based on the requirements given and guys there were testing it for some other condition. This is the first time that I have seen such gross misunderstanding of requirements.
![]() |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|