[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sed 'w filename' reads till newline needs warning
From: |
Dan Jacobson |
Subject: |
sed 'w filename' reads till newline needs warning |
Date: |
31 Aug 2002 07:32:35 +0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 |
Both the sed manpage and info manual should warn about this bougusness
(that filename must have nothing afterwards, same I bet for "r" etc.)
I mean all it says is
`w FILE-NAME'
If the substitution was made, then write out the result to
the named file.
echo |sed 'w /dev/null;='
sed: Couldn't open file /dev/null;=: Permission denied
--
http://jidanni.org/ Taiwan(04)25854780
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- sed 'w filename' reads till newline needs warning,
Dan Jacobson <=