bug-gnu-utils
[Top][All Lists]
Advanced

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

document extra sed 's' behaviour


From: Dan Jacobson
Subject: document extra sed 's' behaviour
Date: Sun, 27 Apr 2003 06:17:57 +0800
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu)

These appear not to be documeted

$ echo 1x1x|sed 's/1/a/;s'
axx

$ echo 1x1x|sed 's/1/a/;s///'
axx

BTW, after an s, even ; and newline are seen as separators belonging
to s.  So maybe emphasize that in this doc part:
`s/REGEXP/REPLACEMENT/FLAGS'
     (The `/' characters may be uniformly replaced by any other single
     character within any given `s' command.)
-- 
http://jidanni.org/ Taiwan(04)25854780




reply via email to

[Prev in Thread] Current Thread [Next in Thread]