![]() |
|
|
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 |
| CRC Code | namrata5 | High Level Programming | 3 | 10-08-2007 11:01 AM |
| how i prepare a c++ code(c code) for implementing my own protocol format | amitpansuria | High Level Programming | 1 | 09-07-2007 12:09 AM |
| SSH key code versus server key code | Texan | Security | 1 | 04-12-2006 12:57 PM |
| Return code from PL/SQL Code | Shaz | UNIX for Advanced & Expert Users | 7 | 06-03-2003 11:56 AM |
| code help | bb00y | High Level Programming | 3 | 10-12-2002 09:45 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
code fragment
Hi
I'm looking at some old unix code and, need some help figuring out some of the commands. Here is the line that I'm having trouble with: echo "$(date) ${0##*/} started" >> $summary.log I know the first statement prints out the date but, I don't understand the second command on the line ${0##*/} - what is this doing? I know $0 is the script name but, I don't know what the rest of the command should print out. I know this is very old code -- does anyone know what the command ${0##*/} is supposed to echo out? tia |
| Bookmarks |
| Tags |
| unix commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|