Just a thought on sed

Bill Maltby LFS Related lfsbill at wlmcs.com
Fri May 3 03:57:44 PDT 2002


On Thu, 2 May 2002, Rob 'Feztaa' Park wrote:

> In order to modify a file with sed, we have to use a tempfile (ie,
> move the file then sed it back).
> 
> I suggest we simplify things a bit by using "perl -i -pe" instead of
> sed. The -i option makes perl modify the file in place (no tempfile),
> <snip>

> What do you guys think? ;)

Question: Is perl and it's needed .so objects available early
enough to use it everywhere we need to do the edits? If not,
I vote for consistency - stick w/sed.

> 
> -- 
> Rob 'Feztaa' Park
> feztaa at shaw.ca

Bill Maltby
billm at wlmcs.com

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list