From 0084d7c454533c787368a319feb7c009b9b0abb6 Mon Sep 17 00:00:00 2001 From: keramida Date: Sun, 18 Jul 2004 02:26:30 +0000 Subject: [PATCH] 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 --- usr.bin/make/make.1 | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1 index b358da04cc36..f08fb76102a4 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