![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
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 help needed --- awk? | scuderiaf1 | Shell Programming and Scripting | 7 | 06-23-2008 08:23 AM |
| Script needed | vpandey | Shell Programming and Scripting | 3 | 03-04-2008 09:45 AM |
| help needed! my first script | fcbarcelona1984 | Shell Programming and Scripting | 1 | 11-04-2007 12:32 PM |
| Help needed in Shell Script | nvuradi | Shell Programming and Scripting | 1 | 10-24-2007 05:56 AM |
| Script Needed | Dastard | SUN Solaris | 1 | 03-20-2007 10:54 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
I have a code given below...
ERROR=`grep "Job Status" ${LOG_FILE}` ERROR=${ERROR##*\(} ERROR=${ERROR%%\)*} if [ "${failedstart}" = 0 -a "${ERROR}" = 1 -o "${ERROR}" = 2 ] then echo "The job completed successfully" EXIT_STATUS=0 else echo "The job failed" EXIT_STATUS=1 fi can anybody tell me what is ERROR=${ERROR##*\(} ERROR=${ERROR%%\)*} is doing...?? i dont understand the command.....## and %% what it does? |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|