aboutsummaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS57
1 files changed, 56 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index d99ce47..b73895b 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,62 @@
-Wydawca NEWS -- history of user-visible changes. 2019-07-22
+Wydawca NEWS -- history of user-visible changes. 2019-07-24
See the end of file for copying conditions.
Please send Wydawca bug reports to <bug-wydawca@gnu.org.ua>.
+
+Version 3.0.90 (git)
+
+* Variable expansion syntax
+
+This release uses wordsplit v1.0-9-g7eaa3c4. Normal shell like
+expansion is allowed. This means that curly braces around variable
+names are optional and that the following forms are now allowed:
+
+${VARIABLE:-WORD}
+ "Use Default Values". If VARIABLE is unset or null, the
+ expansion of WORD is substituted. Otherwise, the value of
+ VARIABLE is substituted.
+
+${VARIABLE:=WORD}
+ "Assign Default Values". If VARIABLE is unset or null, the
+ expansion of WORD is assigned to variable. The value of
+ VARIABLE is then substituted.
+
+ The assigned value remains in effet during expansion of the
+ current string.
+
+${VARIABLE:?WORD}
+ "Display Error if Null or Unset". If VARIABLE is null or
+ unset, the expansion of WORD (or a message to that effect if
+ WORD is not present) is output to the current logging channel.
+ Otherwise, the value of VARIABLE is substituted.
+
+${VARIABLE:+WORD}
+ "Use Alternate Value". If VARIABLE is null or unset, nothing
+ is substituted, otherwise the expansion of WORD is
+ substituted.
+
+* Handling of undefined variables
+
+Attempt to expand undefined variable causes fatal error. Use one of
+the advanced forms described above to handle such cases gracefully.
+
+* Variable names
+
+Several variable names have changed. Names that contained dash,
+now use underscore instead. These are:
+
+ Old name Use this instead
+ ------------------- -------------------
+ stat:check-failures stat:check_failures
+ dest-dir dest_dir
+ source-dir source_dir
+ user:real-name user:real_name
+
+* $- is gone
+
+Trailing newlines are automatically removed from all variable
+expansions. Consequently, the $- marker (delete to the end of line)
+has been removed.
Version 3.0, 2019-07-22

Return to:

Send suggestions and report system problems to the System administrator.