[BACK]Return to make.1 CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / usr.bin / make

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/usr.bin/make/make.1 between version 1.107 and 1.108

version 1.107, 2005/05/08 00:38:47 version 1.108, 2005/06/01 17:17:34
Line 29 
Line 29 
 .\"  .\"
 .\"     from: @(#)make.1        8.4 (Berkeley) 3/19/94  .\"     from: @(#)make.1        8.4 (Berkeley) 3/19/94
 .\"  .\"
 .Dd May 7, 2005  .Dd June 1, 2005
 .Dt MAKE 1  .Dt MAKE 1
 .Os  .Os
 .Sh NAME  .Sh NAME
Line 663  This is identical to
Line 663  This is identical to
 but selects all words which do not match  but selects all words which do not match
 .Ar pattern .  .Ar pattern .
 .It Cm \&:O  .It Cm \&:O
 Order every word in variable alphabetically.  Order every word in variable alphabetically. To sort words in
   reverse order use
   .Ql Cm \&:O:[-1..1]
   combination of modifiers.
   .It Cm \&:Ox
   Randomize words in variable. The results will be different each
   time you are referring to the modified variable; use the assignment
   with expansion
   .Pq Ql Cm \&:=
   to prevent such behaviour. For example,
   .Bd -literal -offset indent
   LIST=                   uno due tre quattro
   RANDOM_LIST=            ${LIST:Ox}
   STATIC_RANDOM_LIST:=    ${LIST:Ox}
   
   all:
           @echo "${RANDOM_LIST}"
           @echo "${RANDOM_LIST}"
           @echo "${STATIC_RANDOM_LIST}"
           @echo "${STATIC_RANDOM_LIST}"
   
   .Ed
   may produce the output similar to:
   .Bd -literal -offset indent
   quattro due tre uno
   tre due quattro uno
   due uno quattro tre
   due uno quattro tre
   .Ed
 .It Cm \&:Q  .It Cm \&:Q
 Quotes every shell meta-character in the variable, so that it can be passed  Quotes every shell meta-character in the variable, so that it can be passed
 safely through recursive invocations of  safely through recursive invocations of

Legend:
Removed from v.1.107  
changed lines
  Added in v.1.108

CVSweb <webmaster@jp.NetBSD.org>