Search Results

Search: Posts Made By: newb1000
1,795
Posted By Shell_Life
Just change the space to comma: NewBlah=$(echo...
Just change the space to comma:
NewBlah=$(echo $blah | sed 's/ /,/')
6,575
Posted By zaxxon
You can't harm anything, why don't you try it...
You can't harm anything, why don't you try it out? :)

Edit the link to putty on your desktop and add the IP-address or name behind the putty.exe.
On the remote host, if bash is your shell, you...
1,359
Posted By LeNouveau
Hi, Once you grepped the right line, you...
Hi,

Once you grepped the right line, you can use this :
... | sed -e "s/^<item> *\([^ ]*\) *<\/item>/\1/"
It will simply select everything between item tags, without spaces. So, it does not...
1,359
Posted By g.pi
newb1000, this may be a simpler way to do it, and...
newb1000, this may be a simpler way to do it, and follow:
echo "<item> a@b.com </item>" | sed -e 's/<item>//' -e 's/<\/item>//' -e 's/ //'

What is happening here is, you search for pattern that...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 05:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy