@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet


Comments:

<0> how can i replace ' to " to a whole text file?i try sed 's/\'/"/g' test.txt but nothing..
<1> you can't "escape" ' inside ''
<1> A SHELL ISSUE



<1> NOT SED'S FAULT
<1> WHOOPS
<1> sorry
<1> capslock
<1> sed "...'...'...\"\" " # etc...
<2> marinosi: echo -e "all aardwarks 'ate' apples" | sed "s/'/\"/g" #all aardwarks "ate" apples
<0> ahm thanks
<3> codestr0m: yeah r seems to work: sed '/spere/r insert.txt' file
<4> calmar:. ty. I'll try in a sec.. I think I was just tired when fiddling with it yesterday
<5> need a simple script to add # to all lines wich dont start with #
<6> Zap-W: s/^[^#]/#/
<3> goldfish: that seems to replace the first letter then?



<6> heh
<6> missed the &
<6> .../#&/
<7> Hi, would you please point me in the right direction to learn about inserting a variable into a sed statement?
<3> Flat: e.g.: i="something"; sed "s/${i}/.../" file
<7> Thanks, all set.
<5> i need to print a line that has peer ip-address ,
<5> but then change ip-address
<5> to something else
<5> er
<5> I mean find the line with peer ip-address and change the ip-address


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #sed
or
Go to some related logs:

#perl
#bind
#linux
grub error 20
dhcpd listen eth1 fedora
#bash
#css
pound GLIBC_PRIVATE
dabian remove package obsolete
#css



Home  |  disclaimer  |  contact  |  submit quotes