A small query.
A simple problem really.
I'm trying to use sed to not replace one word with another, but SWITCH the instances of the word.
But for the life of me, I can't understand that man page.
So, I'll just ask:
Can sed replace two given words? (sed s/one/two/?) or, is there something else out there that works in the same way as sed that can accomplish this?
[edit]
Make a third swap, that works, never thought of doing that :P. Thanks guys (and gals?).
[/edit]
I'm trying to use sed to not replace one word with another, but SWITCH the instances of the word.
But for the life of me, I can't understand that man page.
So, I'll just ask:
Can sed replace two given words? (sed s/one/two/?) or, is there something else out there that works in the same way as sed that can accomplish this?
[edit]
Make a third swap, that works, never thought of doing that :P. Thanks guys (and gals?).
[/edit]
