![]() |
|
|
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 |
| Script required to get a required info from file. Pls. help me. | ntgobinath | Shell Programming and Scripting | 2 | 05-31-2008 09:34 AM |
| xen help required | learnbash | Red Hat | 0 | 05-03-2008 10:46 AM |
| Help Required | Anand Prakash | Linux | 1 | 01-14-2008 05:32 AM |
| help required with cut -d | Amardeep | Shell Programming and Scripting | 4 | 11-27-2006 07:39 AM |
| Help required. | Lokesha | SUN Solaris | 3 | 07-14-2006 08:27 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
HELP Required Please!!!!!!!!!
Dear Friends,
I have a script below mentioned, it is running OK on Linux platform but somehow now i have to use SOLARIS 10 for this script, When i run this script i have some error messages also given below. Can any of you help me with this, i will be very thankful to him. :::::::::::::::::::::::::::::::::::::SCRIPT::::::::::::::::::::::::::::::::::::::::: #/usr/sbin/ksh set -x awk > help.txt '/HW-FAILURE/' ORS="\n" RS= TRE_alarm.txt cat help.txt | grep "unit-type % bts nbr %" > temp_TRE.txt cat help.txt | grep "SBL-type % tre nbr %" > temp_TRE1.txt cat help.txt | grep "HW-FAILURE" >temp_TRE2.txt cat temp_TRE.txt | awk -F " " '{printf "%s\n" , $6}' > temp.txt cat temp_TRE1.txt | awk -F " " '{printf "\n" , $6}' > temp1.txt cat temp_TRE2.txt | awk -F ":" '{printf "\n" , $8}' > temp2.txt paste temp.txt temp1.txt temp2.txt > dani.txt :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::ERROR MESSAGES::::::::::::::::::: ++ awk -F ' ' '{printf "%s\n" , $6}' awk: can't open {printf "%s\n" , $6} ++ cat temp_TRE1.txt ++ awk -F ' ' '{printf "\n" , $6}' awk: can't open {printf "\n" , $6} ++ cat temp_TRE2.txt ++ awk -F : '{printf "\n" , $8}' awk: syntax error near line 1 awk: bailing out near line 1 ++ paste temp.txt temp1.txt temp2.txt ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Thanks a lot in avdance. Best Regards. |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|