[Prev][Next][Index][Thread]

a sed question...




moving an entire tree of a website from .html to .htm, using foreach, I am
trying to inject each file through such a commandline:

cat 129.html | sed -e 'sg/.html/.htm/' > 129.htm

i.e. changing the filename and the links inside at the same time.

anyone has an idea why I get "sed: Unexpected End-of-file" on this? all
the *.htm files are just opened and not even the first line is written...
all are 0 bytes long.



Follow-Ups: