FreeBSD Bugzilla – Attachment 14333 Details for
Bug 26943
[patch] description of :C modifier is misplaced in make.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.08 KB, created by
Alex Kapranoff
on 2001-04-29 08:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Alex Kapranoff
Created:
2001-04-29 08:20:01 UTC
Size:
2.08 KB
patch
obsolete
>--- /usr/src/usr.bin/make/make.1 Wed Apr 25 20:50:37 2001 >+++ make.1 Sun Apr 29 10:34:32 2001 >@@ -584,34 +584,6 @@ > The colon may be escaped with a backslash > .Pq Ql \e . > .Bl -tag -width Cm >-.Sm off >-.It Cm C No \&/ Ar pattern Xo >-.No \&/ Ar replacement >-.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 a regular expression (see >-.Xr regex 3 ) >-and an >-.Xr ed 1 Ns \-style >-replacement string. Normally, the first occurrence of the pattern in >-each word of the value is changed. The >-.Ql 1 >-modifier causes the substitution to apply to at most one word; the >-.Ql g >-modifier causes the substitution to apply to as many instances of the >-search pattern as occur in the word or words it is found in. Note that >-.Ql 1 >-and >-.Ql g >-are orthogonal; the former specifies whether multiple words are >-potentially affected, the latter whether multiple substitutions can >-potentially occur within each affected word. > .It Cm E > Replaces each word in the variable with its suffix. > .It Cm H >@@ -685,6 +657,34 @@ > of a dollar sign > .Pq Ql \&$ , > not a preceding dollar sign as is usual. >+.Sm off >+.It Cm C No \&/ Ar pattern Xo >+.No \&/ Ar replacement >+.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 a regular expression (see >+.Xr regex 3 ) >+and an >+.Xr ed 1 Ns \-style >+replacement string. Normally, the first occurrence of the pattern in >+each word of the value is changed. The >+.Ql 1 >+modifier causes the substitution to apply to at most one word; the >+.Ql g >+modifier causes the substitution to apply to as many instances of the >+search pattern as occur in the word or words it is found in. Note that >+.Ql 1 >+and >+.Ql g >+are orthogonal; the former specifies whether multiple words are >+potentially affected, the latter whether multiple substitutions can >+potentially occur within each affected word. > .It Cm T > Replaces each word in the variable with its last component. > .It Ar old_string=new_string
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 26943
: 14333 |
14334