![]() |
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 |
| parsing a string | satish@123 | Shell Programming and Scripting | 4 | 05-16-2008 07:20 AM |
| parsing string in c | phani_sree | High Level Programming | 3 | 10-24-2007 02:54 AM |
| parsing url string | vanitham | Shell Programming and Scripting | 5 | 10-22-2007 05:48 AM |
| Parsing string | rolex.mp | UNIX for Dummies Questions & Answers | 3 | 02-20-2007 01:28 PM |
| Need help parsing a string | achieve | Shell Programming and Scripting | 6 | 09-13-2006 11:03 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Need help on parsing string
String example:
/vmfs/volumes/46000471-71d7c414-8f74-0013210cddc3/gistst/gistst.vmx What I would like to do is create a variable and save gistst in it. I thought if I could create an array and split it by '/' then I could use the 4th array element or if they was a way to do a substring porocess. Thing is I do not know any unix shell scripting. I've been able to get most of my script to work but I'm having trouble with this. Can anyone help me out. Thanks |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|