![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Unix Arithmatic operation issue , datatype issue | thambi | Shell Programming and Scripting | 23 | 02-19-2008 03:19 AM |
| ftp issue | ravi raj kumar | Shell Programming and Scripting | 5 | 02-06-2008 04:24 AM |
| Issue with rsh | sriram.s | AIX | 5 | 07-03-2007 08:37 AM |
| FTP issue | u263066 | Shell Programming and Scripting | 1 | 07-28-2006 03:18 AM |
| FTP Issue, Help please | moe2266 | UNIX for Dummies Questions & Answers | 0 | 01-17-2006 06:54 AM |
|
|
Submit Tools | LinkBack | Thread Tools | 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}')
|
| Forum Sponsor | ||
|
|
|
|||
|
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.
|
|||
| Google The UNIX and Linux Forums |