Rik Tindall wrote:

Thanks list, Rex & Craig. I've learnt something.

Now, to test usage. Is this a result or an error-message?:

[EMAIL PROTECTED] rik $ sed GNUlinux.txt~
sed: -e expression #1, char 2: Extra characters after command

Looks like my input is wrong..
Ok, I'm supposed to be processing my file in some more functional way.

It's a stream editor, not an interactive one. It (usually) edits standard in, and the result appears on standard out. Your editing commands appear in the argument list, such as

sed -e 's/a few/two/' < GNUlinux.txt > Edited.txt

Cheers, Rex

Reply via email to