more notes...

Bruce Dubbs bdubbs at
Sun Oct 20 07:19:30 PDT 2002

jsmaby at wrote:

>>>>sed -e 's/\(.*\)\(fopen-safer\.c \)\\/\1\2atexit.c \\/' \
>>>>-e 's/\(.*\)\(idcache\$U\.\$.*\)\\/\1\2atexit$U.$(OBJEXT) \\/' \
>>>>lib/ > lib/ ??
>Or perhaps better written:
>echo '132 s/^/atexit.c/
>      192 s/^/atexit$U.$(OBJEXT) /
>      wq' | ed lib/

It certainly makes the expression more obvious.  One problem I can see 
is that if changes by even one line, your version will still 
make the changes, perhaps erroneously.  

  -- Bruce

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

More information about the lfs-dev mailing list