![]() |
|
|
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 |
| how to separate numbers and words from a file using shell scripts | kamakshi s | UNIX for Dummies Questions & Answers | 1 | 06-26-2008 10:02 AM |
| i want to combine two awk scripts which is having same loop and filelist | LAKSHMI NARAYAN | Shell Programming and Scripting | 6 | 06-19-2007 06:02 PM |
| Solaris login scripts | citrowske | SUN Solaris | 0 | 02-08-2007 04:11 PM |
| scripts no longer running (solaris 8) | smcadoo | UNIX for Advanced & Expert Users | 3 | 01-25-2006 01:02 PM |
| kill scripts under Solaris | 98_1LE | UNIX for Dummies Questions & Answers | 1 | 04-05-2002 06:15 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
You need to have backticks (ASCII 96, not regular single quotes) in the OStype assignment, or use this: Code:
OStype=$(uname -s) The $(...) syntax is not understood by all shells, though. Just paste the Sun part of your script between Sun) and the first double semicolon ;; and the AIX part between AIX) and the second ;; (Are you really sure SUN should be in upper case?) |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|