[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
env: add -S option (split string for shebang lines in scripts)
From: |
Assaf Gordon |
Subject: |
env: add -S option (split string for shebang lines in scripts) |
Date: |
Sun, 22 Apr 2018 04:25:51 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
Hello,
Following recent discussion about shebang lines [1][2],
attached is a patch to add "env -S", with the same syntax as freebsd's
env(1).
[1] https://lists.gnu.org/r/coreutils/2017-05/msg00020.html
[2] https://lists.gnu.org/r/bug-coreutils/2018-04/msg00031.html
Also included a small patch adding "--debug/-v" option.
It includes tests with close to %100 coverage, but no documentation yet.
If you think this is a good addition, I'll update the patch with
documentation.
Comments welcomed,
- assaf
env-v-S.patch.gz
Description: application/gzip
- env: add -S option (split string for shebang lines in scripts),
Assaf Gordon <=
- Re: env: add -S option (split string for shebang lines in scripts), Pádraig Brady, 2018/04/23
- Re: env: add -S option (split string for shebang lines in scripts), Assaf Gordon, 2018/04/24
- Re: env: add -S option (split string for shebang lines in scripts), Assaf Gordon, 2018/04/26
- Re: env: add -S option (split string for shebang lines in scripts), Pádraig Brady, 2018/04/27
- Re: env: add -S option (split string for shebang lines in scripts), Bernhard Voelker, 2018/04/27
- Re: env: add -S option (split string for shebang lines in scripts), Eric Blake, 2018/04/27
- Re: env: add -S option (split string for shebang lines in scripts), Eric Blake, 2018/04/27