make.1 (49caa483b3fafffd9cf5197eb30e8bb235aa7410) | make.1 (ef0b253881c9546ff88d3ed8480df7c791b3ddff) |
---|---|
1.\" $NetBSD: make.1,v 1.280 2020/04/27 20:03:08 christos Exp $ | 1.\" $NetBSD: make.1,v 1.282 2020/06/06 20:28:42 wiz Exp $ |
2.\" 3.\" Copyright (c) 1990, 1993 4.\" The Regents of the University of California. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" SUCH DAMAGE. 29.\" 30.\" from: @(#)make.1 8.4 (Berkeley) 3/19/94 31.\" | 2.\" 3.\" Copyright (c) 1990, 1993 4.\" The Regents of the University of California. All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright --- 14 unchanged lines hidden (view full) --- 24.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" SUCH DAMAGE. 29.\" 30.\" from: @(#)make.1 8.4 (Berkeley) 3/19/94 31.\" |
32.Dd April 27, 2020 | 32.Dd June 5, 2020 |
33.Dt MAKE 1 34.Os 35.Sh NAME 36.Nm make 37.Nd maintain program dependencies 38.Sh SYNOPSIS 39.Nm 40.Op Fl BeikNnqrstWwX --- 1161 unchanged lines hidden (view full) --- 1202. 1203.It Cm \&:N Ns Ar pattern 1204This is identical to 1205.Ql Cm \&:M , 1206but selects all words which do not match 1207.Ar pattern . 1208.It Cm \&:O 1209Order every word in variable alphabetically. | 33.Dt MAKE 1 34.Os 35.Sh NAME 36.Nm make 37.Nd maintain program dependencies 38.Sh SYNOPSIS 39.Nm 40.Op Fl BeikNnqrstWwX --- 1161 unchanged lines hidden (view full) --- 1202. 1203.It Cm \&:N Ns Ar pattern 1204This is identical to 1205.Ql Cm \&:M , 1206but selects all words which do not match 1207.Ar pattern . 1208.It Cm \&:O 1209Order every word in variable alphabetically. |
1210To sort words in 1211reverse order use the 1212.Ql Cm \&:O:[-1..1] 1213combination of modifiers. | 1210.It Cm \&:Or 1211Order every word in variable in reverse alphabetical order. |
1214.It Cm \&:Ox 1215Randomize words in variable. 1216The results will be different each time you are referring to the 1217modified variable; use the assignment with expansion 1218.Pq Ql Cm \&:= 1219to prevent such behavior. 1220For example, 1221.Bd -literal -offset indent --- 217 unchanged lines hidden (view full) --- 1439is the substring of 1440.Ar old_string 1441to be replaced in 1442.Ar new_string . 1443If only 1444.Ar old_string 1445contains the pattern matching character 1446.Ar % , | 1212.It Cm \&:Ox 1213Randomize words in variable. 1214The results will be different each time you are referring to the 1215modified variable; use the assignment with expansion 1216.Pq Ql Cm \&:= 1217to prevent such behavior. 1218For example, 1219.Bd -literal -offset indent --- 217 unchanged lines hidden (view full) --- 1437is the substring of 1438.Ar old_string 1439to be replaced in 1440.Ar new_string . 1441If only 1442.Ar old_string 1443contains the pattern matching character 1444.Ar % , |
1447and | 1445and |
1448.Ar old_string 1449matches, then the result is the 1450.Ar new_string . 1451If only the 1452.Ar new_string 1453contains the pattern matching character 1454.Ar % , 1455then it is not treated specially and it is printed as a literal --- 164 unchanged lines hidden (view full) --- 1620If 1621.Ar start 1622is greater than 1623.Ar end , 1624then the words are output in reverse order. 1625For example, 1626.Ql Cm \&:[-1..1] 1627selects all the words from last to first. | 1446.Ar old_string 1447matches, then the result is the 1448.Ar new_string . 1449If only the 1450.Ar new_string 1451contains the pattern matching character 1452.Ar % , 1453then it is not treated specially and it is printed as a literal --- 164 unchanged lines hidden (view full) --- 1618If 1619.Ar start 1620is greater than 1621.Ar end , 1622then the words are output in reverse order. 1623For example, 1624.Ql Cm \&:[-1..1] 1625selects all the words from last to first. |
1626If the list is already ordered, then this effectively reverses 1627the list, but it is more efficient to use 1628.Ql Cm \&:Or 1629instead of 1630.Ql Cm \&:O:[-1..1] . |
|
1628.\" :[*] 1629.It Cm \&* 1630Causes subsequent modifiers to treat the value as a single word 1631(possibly containing embedded white space). 1632Analogous to the effect of 1633\&"$*\&" 1634in Bourne shell. 1635.\" :[0] --- 814 unchanged lines hidden --- | 1631.\" :[*] 1632.It Cm \&* 1633Causes subsequent modifiers to treat the value as a single word 1634(possibly containing embedded white space). 1635Analogous to the effect of 1636\&"$*\&" 1637in Bourne shell. 1638.\" :[0] --- 814 unchanged lines hidden --- |