So.  Back to sed.  I was hoping for a conceptual overview of the
different parts of a sed command line.  The man page says:

"sed [OPTION]... {script-only-if-no-other-script} [input-file]..."

So, we have the command, 'sed'.  Then options to sed.  Then... what? 
And the file we're performing the operation on.  Presumably the file
is optional, and stdin is okay.  It occurred to me a while ago that my
"Linux in a Nutshell" book has a whole section on sed (and awk) but I
can't seem to find it.

I'm guessing that script-only-blah part is where I put the edits to
perform.  These edits come in the form of options? (dash-something)  I
know for sure that sed does the s/// substitute, but most edits don't
look like that, right?  I think maybe s/// is all I need for my
purposes, though.  Do I just stick it in here?

What am I doing???  Gawd don't make me have to use 'info'.

-todd


--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to