Search Results

Search: Posts Made By: wibbles
7,100
Posted By wibbles
Thats it, great. Thanks for all your help...
Thats it, great.

Thanks for all your help guys :-)
7,100
Posted By wibbles
Thanks got it working now sed...
Thanks got it working now

sed '/rctl/,/end/{H;d;}
${p;g;s/^.//;}' /tmp/y

Ideally wanted it on one line but if I run it as

sed '/rctl/,/end/{H;d;};${p;g;s/^.//;}' /tmp/y

it doesn't add...
7,100
Posted By wibbles
Thanks for the reply. I tried it on my server...
Thanks for the reply. I tried it on my server which is running Solaris 10 and get a command garbled error. Any ideas?

sed: command garbled: /rctl/,/end/{H;d};$g
7,100
Posted By wibbles
moving text with sed
Hi,

I have a configuration file for solaris zones that I generate as part of another script but I need to move part of the text to the end of the file prior to execution and I'm having problems...
Showing results 1 to 4 of 4

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