diff options
author | keramida <keramida@FreeBSD.org> | 2004-07-18 02:26:30 +0000 |
---|---|---|
committer | keramida <keramida@FreeBSD.org> | 2004-07-18 02:26:30 +0000 |
commit | 0084d7c454533c787368a319feb7c009b9b0abb6 (patch) | |
tree | 5a57908b22b33a815d948716286da8a767f513b3 /usr.bin/make | |
parent | a1cdb8de5c93e0a4e175fdeea5ae00f0ce0b9868 (diff) | |
download | FreeBSD-src-0084d7c454533c787368a319feb7c009b9b0abb6.zip FreeBSD-src-0084d7c454533c787368a319feb7c009b9b0abb6.tar.gz |
Remove the dependency of the :C/regexp/replacement/ variable modifier
from the :S modifier which follows a bit further below. This way the
reader can read each of these two descriptions without having to jump
back and forth in the manpage.
PR: docs/26943
Submitted by: Alex Kapranoff <alex@kapran.bitmcnit.bryansk.su>
Diffstat (limited to 'usr.bin/make')
-rw-r--r-- | usr.bin/make/make.1 | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1 index b358da0..f08fb76 100644 --- a/usr.bin/make/make.1 +++ b/usr.bin/make/make.1 @@ -618,16 +618,15 @@ The colon may be escaped with a backslash .No \&/ Op Cm 1g .Xc .Sm on -The -.Cm C -modifier is just like the -.Cm S -modifier except that the old and new strings, instead of being -simple strings, are an extended regular expression (see +Modify each word of the value, +substituting every match of the extended regular expression +.Ar pattern +(see .Xr re_format 7 ) -and an +with the .Xr ed 1 Ns \-style -replacement string. +.Ar replacement +string. Normally, the first occurrence of the pattern in each word of the value is changed. The |