![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to split special characters "|" using awk | krishna9 | Shell Programming and Scripting | 3 | 05-22-2008 07:30 AM |
| Explain the line "mn_code=`env|grep "..mn"|awk -F"=" '{print $2}'`" | Lokesha | UNIX for Dummies Questions & Answers | 4 | 12-20-2007 01:52 AM |
| split the string "Setview: arv-temp-view" | amitrajvarma | Shell Programming and Scripting | 2 | 10-11-2007 06:14 AM |
| deleting newline characters but not the "true" \n character | caddyjoe77 | Shell Programming and Scripting | 1 | 08-15-2007 11:21 PM |
| Perl - split with "|" | lumdev | Shell Programming and Scripting | 3 | 02-04-2007 02:14 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
perl split funciton - special character "/"
HI,
I have a directory structure. /abc/def/ghi/ I want to store it into array. So that if I do a pop function on that array I can easily go to previous directory. But how can i split and store it. @Directory = split(/\//,$DirectoryVarialbe) That doest works. Any other escape sequence should be given?? Kindly help. |
| Bookmarks |
| Tags |
| perl split, split perl |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|