![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Parse String Using Sed | racbern | Shell Programming and Scripting | 4 | 04-23-2008 09:14 AM |
| Parse String from a Variable | racbern | Shell Programming and Scripting | 3 | 04-07-2008 09:04 AM |
| how to parse this string | hcliff | Shell Programming and Scripting | 13 | 04-02-2008 01:43 AM |
| String parse question | mnreferee | Shell Programming and Scripting | 5 | 03-06-2007 08:30 PM |
| parse variable | mpang_ | Shell Programming and Scripting | 2 | 01-03-2007 03:31 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
parse a string variable
Hello all, need a little help.
I have an input variable such as ARGV[0] which equals something like /use/home/name/script/test.dat I need to be able to get just the "test.dat" (i.e. the file name) at the end of the directory and the directory can be anything and any length. To put it another way, I want the value after the last "/". Thanks. |
| Forum Sponsor | ||
|
|