![]() |
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 |
| Remove directory that has special Characters | datherriault | UNIX for Dummies Questions & Answers | 12 | 01-14-2009 05:53 PM |
| remove special and unicode characters | shantanuo | UNIX for Dummies Questions & Answers | 1 | 12-05-2008 09:16 AM |
| Remove lasts characters from a string | chriss_58 | Shell Programming and Scripting | 6 | 11-28-2008 06:07 AM |
| Help with find and replace w/string containing special characters | CAGIRL | UNIX for Dummies Questions & Answers | 4 | 10-07-2008 07:13 PM |
| Add string after another string with special characters | heliode | Shell Programming and Scripting | 2 | 03-21-2008 08:06 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|||||
|
Here string. It's not available in all shells.
For more information search your shell manpages for Here Strings. Quote:
|
|
||||
|
Hi
I have the following string which contains -> symbol, i need to split this string into two strings using shell script in unix. can anyone help me out. test_inbox123_link.txt->/home/pbommire/Praveen/kiran/inbox/test_inbox.txt r |
|
|||||
|
Hi KiranKumarKarre,
Code:
localhost:~# string='test_inbox123_link.txt->/home/pbommire/Praveen/kiran/inbox/test_inbox.txt'
localhost:~# echo ${string%->*}
test_inbox123_link.txt
localhost:~# echo ${string#*->}
/home/pbommire/Praveen/kiran/inbox/test_inbox.txt
|
|
||||
|
Code:
echo "My name's Santiago. What's yours?" | tr -d "atu" |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Tags |
| shell script, shell scripting, str, unix scripting, unix scripting basics |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|