String replacement with sed
web at 3dresearch.com
Fri Sep 3 16:37:08 PDT 2004
I need to change a bunch of Analog config files; among other things
change the location of IMAGEDIR. I made this simple script:
for loop in `ls analog/*`
$loop > $loop.sed
It works fine, except I get duplicate lines, such as:
I want just a single line - what do I need to change?
Thank you for your insight...
More information about the freebsd-questions