[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Edlug Archive Mar 2004 ]

Re: [edlug] Global Search and Replace

Justin B Rye wrote:

The problem is that sed doesn't edit the file in place - it just
outputs the filtered version to stdout.

The -i option replaces the file:

sed -i s/.../ file

You can find the EdLUG mailing list FAQ list at:

This archive is kept by wibble@morpheux.org.DONTSPAMME