[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sed command scripts
From: |
Richard A Lough |
Subject: |
sed command scripts |
Date: |
Wed, 27 Dec 2000 11:27:01 +0000 |
Hi,
First of all, thanks for the work already done on sed.
Secondly, I'm reporting this as a bug, you probably
won't think it is.
I found that the equivalent of
$ sed 'w ./my.output.file' ./my.input.file
as a script is
$ sed -f ./sedfile ./my.input.file
where the content of ./sedfile is :
# this is ./sedfile
w ./my.output.file
# Note that adding 'q' as the last line of the file
# does not work as you might have intended
# ./sedfile ends here
I note that $ info sed
does not include any examples, you might include some
of this email there. If I can get this wrong, so can
others.
And yes, the dc.sed is amazing.
HTH
Richard A Lough
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- sed command scripts,
Richard A Lough <=