diff options
author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2008-08-24 13:47:53 +0000 |
---|---|---|
committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2008-08-24 13:47:53 +0000 |
commit | 625451f9f4004511a3df7b37f3b9064e38eb6eb5 (patch) | |
tree | 01e24dabcd4784fbd642e651aeeb17162d5f54c0 /usr.bin/sed/sed.1 | |
parent | f0c042211b98dffec499096b196371cda4a27834 (diff) | |
download | src-test2-625451f9f4004511a3df7b37f3b9064e38eb6eb5.tar.gz src-test2-625451f9f4004511a3df7b37f3b9064e38eb6eb5.zip |
Notes
Diffstat (limited to 'usr.bin/sed/sed.1')
-rw-r--r-- | usr.bin/sed/sed.1 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/usr.bin/sed/sed.1 b/usr.bin/sed/sed.1 index 71f3a9d688b1..a40dbeb20ed5 100644 --- a/usr.bin/sed/sed.1 +++ b/usr.bin/sed/sed.1 @@ -31,7 +31,7 @@ .\" @(#)sed.1 8.2 (Berkeley) 12/30/93 .\" $FreeBSD$ .\" -.Dd April 21, 2007 +.Dd August 24, 2008 .Dt SED 1 .Os .Sh NAME @@ -243,10 +243,17 @@ has the following two additions to regular expressions: In a context address, any character other than a backslash .Pq Dq \e or newline character may be used to delimit the regular expression. +The opening delimiter needs to be preceded by a backslash +unless it is a slash. +For example, the context address +.Li \exabcx +is equivalent to +.Li /abc/ . Also, putting a backslash character before the delimiting character -causes the character to be treated literally. -For example, in the context address \exabc\exdefx, the RE delimiter -is an +withing the regular expression causes the character to be treated literally. +For example, in the context address +.Li \exabc\exdefx , +the RE delimiter is an .Dq x and the second .Dq x |