diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2010-01-27 21:06:53 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2010-01-27 21:06:53 +0000 |
| commit | 8f5f49447d2acbd16166776375976294d0451f06 (patch) | |
| tree | fb1f0d3bf1a53b98c67d44c6ab16dcc4244bee5f /usr.bin/make | |
| parent | 12613c1ae5807acb9b8199cdbfae497e7601c1d6 (diff) | |
Notes
Diffstat (limited to 'usr.bin/make')
| -rw-r--r-- | usr.bin/make/make.1 | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1 index 5ba578bc15fd..4e435384b1ad 100644 --- a/usr.bin/make/make.1 +++ b/usr.bin/make/make.1 @@ -852,7 +852,7 @@ These directories will be searched for source files by .Nm after it has finished parsing all input makefiles. .El -.Ss Variable modifiers +.Ss Variable Modifiers Variable expansion may be modified to select or modify each word of the variable (where a .Dq word @@ -867,7 +867,7 @@ The colon may be escaped with a backslash .Pq Ql \e . .Bl -tag -width Cm .Sm off -.It Cm \&:C No / Ar pattern Xo +.It Cm :C No / Ar pattern Xo .No / Ar replacement .No / Op Cm 1g .Xc @@ -896,13 +896,13 @@ and 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 +.It Cm :E Replaces each word in the variable with its suffix. -.It Cm \&:H +.It Cm :H Replaces each word in the variable with everything but the last component. -.It Cm \&:L +.It Cm :L Converts variable to lower-case letters. -.It Cm \&:M Ns Ar pattern +.It Cm :M Ns Ar pattern Select only those words that match the rest of the modifier. The standard shell wildcard characters .Pf ( Ql * , @@ -913,21 +913,21 @@ may be used. The wildcard characters may be escaped with a backslash .Pq Ql \e . -.It Cm \&:N Ns Ar pattern +.It Cm :N Ns Ar pattern This is identical to -.Cm \&:M , +.Cm :M , but selects all words which do not match the rest of the modifier. -.It Cm \&:O +.It Cm :O Order every word in the variable alphabetically. -.It Cm \&:Q +.It Cm :Q Quotes every shell meta-character in the variable, so that it can be passed safely through recursive invocations of .Nm . -.It Cm \&:R +.It Cm :R Replaces each word in the variable with everything but its suffix. .Sm off -.It Cm \&:S No / Ar old_string Xo +.It Cm :S No / Ar old_string Xo .No / Ar new_string .No / Op Cm g .Xc @@ -991,11 +991,11 @@ is the substring of .Ar old_string to be replaced in .Ar new_string -.It Cm \&:T +.It Cm :T Replaces each word in the variable with its last component. -.It Cm \&:U +.It Cm :U Converts variable to upper-case letters. -.It Cm \&:u +.It Cm :u Remove adjacent duplicate words (like .Xr uniq 1 ) . .El |
