![]() ( #7938).įish produces more specific errors when a command in a command substitution wasn't found or is not allowed. It also correctly imports the first match if multiple arguments are provided, matching the documentation. String match with unmatched capture groups and without the -all flag now sets an empty variable instead of a variable containing the empty string. A failed execution now reports $status of 127 if the file is not found, and 126 if it is not executable.Įcho no longer writes its output one byte at a time, improving performance and allowing use with Linux's special API files ( /proc, /sys and such) ( #7836).įish should now better handle cd on filesystems with broken stat(3) responses ( #7577).īuiltins now properly report a $status of 1 upon unsuccessful writes ( #7857). ![]() If a file fails to execute and passes a (rudimentary) binary safety check, fish will re-invoke it using /bin/sh ( #7802).Įxit codes are better aligned with bash. Shebang ( #!) lines are no longer required within shell scripts, improving support for scripts with concatenated binary contents. math functions can be used without the parentheses (eg math sin 2 + 6), and functions have the lowest precedence in the order of operations ( #7877). Math gained new functions log2 (like the documentation claimed), max and min ( #7856).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |