![]() |
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 |
| Korn: How to loop through a string character by character | shew01 | Shell Programming and Scripting | 10 | 12-02-2008 07:58 AM |
| parsing a string in a shell script | asutoshch | Shell Programming and Scripting | 19 | 05-26-2008 09:18 PM |
| bash script to check the first character in string | ole111 | Shell Programming and Scripting | 2 | 03-19-2008 12:34 AM |
| shell script string extension | vbm | Shell Programming and Scripting | 4 | 11-10-2006 01:58 AM |
| Special Character Check in Shell script | mradul_kaushik | Shell Programming and Scripting | 1 | 03-24-2006 05:54 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
I have a string "\/scratch\/databases\". I want
to have a new string "\/scratch\/databases" by cutting last '\' character using shell script. I can't do this Please help me. Thanks in advance ThuongTranVN [Edited by ThuongTranVN on 01-26-2001 at 01:35 PM] |
|
||||
|
Re: \\
Hello,
Thank you so much for your reply. I tried Code: :%s/\\$// don't replcae '\' character at the end of line :%s/\\// replace only first '\' character of line :%s/\\//g replace all '\' characters of line. I need help. Thanks in advance |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|