summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfjoe <fjoe@FreeBSD.org>2006-04-08 07:02:39 +0000
committerfjoe <fjoe@FreeBSD.org>2006-04-08 07:02:39 +0000
commit721f0cd723063a28d3c5cdc66000001230d799cd (patch)
tree5641f6f259ee234c285def0b40319e5429ea2f59
parentd0f38a43824ff21d270c15c2828041466b1ee0e5 (diff)
downloadFreeBSD-src-721f0cd723063a28d3c5cdc66000001230d799cd.zip
FreeBSD-src-721f0cd723063a28d3c5cdc66000001230d799cd.tar.gz
Update comment about var modifiers (add 'N' and 'O' descriptions).
-rw-r--r--usr.bin/make/var.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/make/var.c b/usr.bin/make/var.c
index 47e6404..fec988d 100644
--- a/usr.bin/make/var.c
+++ b/usr.bin/make/var.c
@@ -1701,6 +1701,10 @@ Var_Quote(const char *str)
* words which match the given <pattern>.
* <pattern> is of the standard file
* wildcarding form.
+ * :N<pattern>
+ * words which do not match the given <pattern>
+ * <pattern> is of the standard file
+ * wildcarding form.
* :S<d><pat1><d><pat2><d>[g]
* Substitute <pat2> for <pat1> in the value
* :C<d><pat1><d><pat2><d>[g]
@@ -1716,9 +1720,8 @@ Var_Quote(const char *str)
* the invocation.
* :U Converts variable to upper-case.
* :L Converts variable to lower-case.
+ * :O ("Order") Alphabeticaly sort words in variable.
* :u ("uniq") Remove adjacent duplicate words.
- *
- * XXXHB update this comment or remove it and point to the man page.
*/
static char *
ParseModifier(VarParser *vp, char startc, Var *v, Boolean *freeResult)
OpenPOWER on IntegriCloud