Search Results

Search: Posts Made By: mgrahamnz
3,807
Posted By mgrahamnz
That did the trick - thank-you very much. ...
That did the trick - thank-you very much.

Regards, Mark
3,807
Posted By mgrahamnz
sed on multiple files?
Hi,

I want to do a search and replace on multiple text files. Can I use sed to do this?

i.e. I want to do something like:

$ sed *.html -e 's/<\/body>/<\!-- blah -->\n<\/body>/' | grep -1...
5,286
Posted By mgrahamnz
Thanks very much - that's exactly what I wanted...
Thanks very much - that's exactly what I wanted to do.
I have subsequently worked out I can achieve the same result with 'killall -9 -ir evol*' which is briefer. However, your answer addresses the...
5,286
Posted By mgrahamnz
BASH Pipe question
Hi all,

I'm new to shell scripting, but enjoying myself! :cool:

I'm trying to execute the following statement:
alias evol="ps -AH | grep evol | cut -d' ' -f2 | kill -9"

As you might guess....
Showing results 1 to 4 of 4

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