• R/O
  • SSH
  • HTTPS

yash: 提交


Commit MetaInfo

修訂4195 (tree)
時間2022-08-17 23:03:17
作者magicant

Log Message

Update documentation

Change Summary

差異

--- yash/branches/arith-error/NEWS (revision 4194)
+++ yash/branches/arith-error/NEWS (revision 4195)
@@ -10,6 +10,8 @@
1010 ----------------------------------------------------------------------
1111 Yash 2.53 (????-??-??)
1212
13+ = The shell now deterministically rejects arithmetic expansions
14+ that result in undefined behavior.
1315 * A non-interactive yash now exits on an assignment error in a for
1416 loop.
1517 * Fixed a bug where command substitutions contained in the regular
--- yash/branches/arith-error/doc/expand.txt (revision 4194)
+++ yash/branches/arith-error/doc/expand.txt (revision 4195)
@@ -466,6 +466,8 @@
466466 echo $((foo + 0)) # error
467467 ----
468468
469+It is an expansion error if the result of an expression is not defined in C.
470+
469471 [[brace]]
470472 == Brace expansion
471473
--- yash/branches/arith-error/doc/ja/expand.txt (revision 4194)
+++ yash/branches/arith-error/doc/ja/expand.txt (revision 4195)
@@ -276,6 +276,8 @@
276276 echo $((foo + 0)) # エラー
277277 ----
278278
279+C 言語で結果が定義されていない数式は展開エラーになります。
280+
279281 [[brace]]
280282 == ブレース展開
281283
Show on old repository browser