![]() |
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 |
| Parse String Using Sed | racbern | Shell Programming and Scripting | 4 | 04-23-2008 12:14 PM |
| Parse String from a Variable | racbern | Shell Programming and Scripting | 3 | 04-07-2008 12:04 PM |
| how to parse this string | hcliff | Shell Programming and Scripting | 13 | 04-02-2008 04:43 AM |
| String parse question | mnreferee | Shell Programming and Scripting | 5 | 03-07-2007 12:30 AM |
| parse variable | mpang_ | Shell Programming and Scripting | 2 | 01-03-2007 07:31 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|