![]() |
|
|
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 |
| SPARC: Using Solaris Live Upgrade to Upgrade From Solaris 8 to Solaris 10 05/08 (or L | iBot | Solaris BigAdmin RSS | 0 | 03-09-2009 03:30 PM |
| Solaris 10 System Administration Essentials (Solaris Series) | iBot | Solaris BigAdmin RSS | 0 | 01-16-2009 09:30 AM |
| Solaris Jedi: A quick way to check UDP ports on Solaris | iBot | Solaris BigAdmin RSS | 0 | 12-03-2008 09:20 AM |
| run xclock from local solaris to remote solaris | panchpan | SUN Solaris | 9 | 06-30-2008 11:05 AM |
| Disk Mirror in Solaris 9 via Solaris Volume Manager | deal732 | SUN Solaris | 3 | 05-02-2007 12:43 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
awk on Solaris
Hi,
we have a shell script like this .. # make sure all parameters are dealt with in upper case. for option in ${1} ${2} ${3} ${4} ${5} ${6} ${7} ${8} ${9} do option_name=`echo ${option} | awk -F \= '{print $1}'` if [ "${option_name}" == "SID" ] then SID=`echo ${option} | awk -F \= '{print $2}'` else typeset -u option eval ${option} fi done it's working fine on AIX and it's failing on "option_name=`echo ${option} | awk -F \= '{print $1}'`" on Solaris . Syntax looks oky for me . And it's not giving exact error too . do you see any thing different for Soalris 10 ( awk part) Thanks |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|