You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
${IFS+"false"}&&unset oldifs || oldifs="$IFS"# correctly store IFS.
IFS="error"### change and use IFS as needed.${oldifs+"false"}&&unset IFS || IFS="$oldifs"# restore IFS.
So If I use this technique to save and restore IFS in the script, I don't see the error.
Here is the new code with the old code commented out.
After upgrading to the latest version 1.1.1, I started getting the error from bash_completion/dust.bash:
I am on Mac OS 14.5 with GNU bash, version 5.2.32(1)-release (x86_64-apple-darwin23.4.0)
I also get the same result if I use the native Mac GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin23)
In looking for a solution I found this stack exchange post https://unix.stackexchange.com/questions/264926/is-it-a-sane-approach-to-back-up-the-ifs-variable
So If I use this technique to save and restore IFS in the script, I don't see the error.
Here is the new code with the old code commented out.
The text was updated successfully, but these errors were encountered: