However I can't confirm your issue. The read builtin does not need an argument:
If no NAMEs are supplied, the line read is stored in the REPLY variable.
Looks like it has been like that for a long time. Are you sure you're using bash?
If you're on ubuntu it's possible that you have symlinked /bin/bash to /bin/dash, which is a bad idea, as you can see.
The script explicitly states that it is to be executed with /usr/bin/env bash. If your system'sbash` is actually a bash incompatible bash-replacement, you need to fix your system :)
This should be a PR, not an issue.
---
However I can't confirm your issue. The `read` builtin does not need an argument:
> If no NAMEs are supplied, the line read is stored in the REPLY variable.
Looks like it has been like that for [a long time](http://git.savannah.gnu.org/cgit/bash.git/commit/builtins/read.def?id=726f63884db0132f01745f1fb4465e6621088ccf). Are you sure you're using bash?
---
If you're on ubuntu it's possible that you have symlinked `/bin/bash` to `/bin/dash`, which is a bad idea, as you can see.
The script explicitly states that it is to be executed with `/usr/bin/env bash. If your system's`bash` is actually a bash incompatible bash-replacement, you need to fix your system :)
Ah interesting... I haven't symlinked anything and just reinstalled on an encrypted volume yesterday. Of course when updating I got some notices that my system installation was broken, so i'll check it out.
Ah interesting... I haven't symlinked anything and just reinstalled on an encrypted volume yesterday. Of course when updating I got some notices that my system installation was broken, so i'll check it out.
This repo is archived. You cannot comment on issues.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Looks like read needs an argument. I changed it to
read _and that fixed it.This should be a PR, not an issue.
However I can't confirm your issue. The
readbuiltin does not need an argument:Looks like it has been like that for a long time. Are you sure you're using bash?
If you're on ubuntu it's possible that you have symlinked
/bin/bashto/bin/dash, which is a bad idea, as you can see.The script explicitly states that it is to be executed with
/usr/bin/env bash. If your system'sbash` is actually a bash incompatible bash-replacement, you need to fix your system :)Ah interesting... I haven't symlinked anything and just reinstalled on an encrypted volume yesterday. Of course when updating I got some notices that my system installation was broken, so i'll check it out.