![]() |
|
|
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 do I make dynamic parameter names? Or get the value of a parameter evaluated twi | Awanka | Shell Programming and Scripting | 2 | 04-19-2007 10:37 PM |
| accessing ksh variables from awk | trupti wagh | Shell Programming and Scripting | 1 | 02-26-2007 04:11 AM |
| accessing the gui when using telnet | isesoteric | SUN Solaris | 2 | 09-26-2006 08:47 PM |
| Accessing Web Page | Imtiaz | UNIX for Dummies Questions & Answers | 3 | 06-08-2005 09:53 AM |
| Accessing NTFS... | Vishnu | UNIX for Dummies Questions & Answers | 3 | 10-25-2002 10:12 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi
I am new to this forum. Please forgive me, If I am wrong anywhere. I am trying to understand the below code. Can anyone help in understanding what is ${#ST} here. Is that the value of the first parameter?? ...what is exit 1 mean. Any clarification is greatly appreciated.export ST=$1 export EN=$2 if [ ${#ST} -eq 0 ] then echo ${#ST} echo ${ABORT} " START_STEP environment variable must be present" echo "Process cannot be executed" exit 1 fi if [ ${#EN} -eq 0 ] then echo ${ABORT} " END_STEP environment variable must be present" echo "Process cannot be executed" exit 1 fi Thank you, Sudha |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|