diff options
author | f380cedric <f380cedric@users.noreply.github.com> | 2020-10-05 11:30:58 +0200 |
---|---|---|
committer | f380cedric <f380cedric@users.noreply.github.com> | 2020-10-05 11:30:58 +0200 |
commit | 9cd26a24959ac339f44b6cde6195116a9f1e6656 (patch) | |
tree | 9e778b47b1b6263b3cad130615ab2ab2ab9675c7 /share/mailcap | |
parent | 93c772983e2b861546a5cb54fed3eba3446806b3 (diff) |
Use POSIX-compliant read
Rewrite #520.
Using `read var?'prompt'` is wrong. It is ksh (and zsh) specific.
Using `read -p 'prompt' var` is also wrong. It is bash specific.
Since we cannot assume which sh is implemented,
we should write POSIX-compliant code.
Diffstat (limited to 'share/mailcap')
0 files changed, 0 insertions, 0 deletions