![]() |
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 |
| Removing '." character using SED | arvindcgi | Shell Programming and Scripting | 2 | 06-03-2008 07:28 AM |
| Removing character ' from a variable | sertansenturk | Shell Programming and Scripting | 3 | 04-19-2008 08:53 AM |
| removing new line character | ammu | Shell Programming and Scripting | 2 | 01-15-2008 10:12 AM |
| Removing first character in a string | npn | UNIX for Advanced & Expert Users | 4 | 06-06-2006 07:02 AM |
| Removing the ^M character in VI | julesinbath | UNIX for Dummies Questions & Answers | 2 | 04-29-2002 09:13 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
What if you could possibly have more than one % character at the end of the string? What command would you use then to ensure that there were no % chars at the end?
I ask b/c I want to take a directory path that a user passes me, and if there are any / chars at the end, I want to delete them all. thanks to all for any help... |
|
||||
|
remove string contains /
How can remove string contains / in a file
for example my input like <dgjfgjdgfjsdg/kdfhgdhgjkhdfjkg/jkdfjhdk/kjfdhgkdjh=kjfh:"dfjgdjfg"><dfjvgdjgvdjgfvjdgfjgdjfgjkdg><jdfgvjdgfjgbdjfgbj> i would like to remove <dgjfgjdgfjsdg/kdfhgdhgjkhdfjkg/jkdfjhdk/kjfdhgkdjh=kjfh:"dfjgdjfg"> |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|