diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-01-02 19:24:03 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2010-01-02 19:24:03 +0200 |
commit | c44f0f83448b426935e9aeb07c5d761299144d14 (patch) | |
tree | 696d15a11587c94e3a5f8b356f3f91adc73c789a /NEWS | |
parent | 1b0a4de9fa73dd2453cbd2902c2cd4d000f4abe7 (diff) | |
download | wydawca-c44f0f83448b426935e9aeb07c5d761299144d14.tar.gz wydawca-c44f0f83448b426935e9aeb07c5d761299144d14.tar.bz2 |
$- construct (similar to m4's dnl).
* src/meta.c: Special construct $- removes the character immediately
following it.
* doc/wydawca.texi: Document the use of $- construct.
* src/triplet.c (expand_triplet_ls_full)
(expand_triplet_ls_upload): Keep trailing newline in the expansion.
* tests/etc/notify.rc: Update.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -19,10 +19,17 @@ The following meta-variables are renamed: triplet:sig triplet:ls:sig triplet:dir triplet:ls:dir +The expansions of {triplet:ls:full} and {triplet:ls:upload} include +trailing newline. This means that if your config contains one of these +variables on a line by itself, you will need to add $- at the end of +that line, to suppress an extra newline. See "listings" in subsection +4.14.4 "Event Notification", for an example. + To update your configuration, use the following (extended) sed expression: - s/\{(triplet):(full|upload|dist|sig|dir)\}/{\1:ls:\2}/g - + s/\{(triplet):(full|upload)\}/{\1:ls:\2}$-/g + s/\{(triplet):(dist|sig|dir)\}/{\1:ls:\2}/g + * Distribution verification. The new keyword `check-script' defines a shell script to |