Assaf Gordon
668306ed86
env: add -S/--split-string option
...
Adopted from FreeBSD's env(1), useful for specifing multiple
parameters on a shebang (#!) script line, e.g:
#!/usr/bin/env -S perl -w -T
Discussed in https://lists.gnu.org/r/coreutils/2018-04/msg00011.html
* src/env.c (valid_escape_sequence,escape_char,scan_varname,
extract_varname,validate_split_str,build_argv,
parse_split_string): New functions.
(main): Process new option and call parse_split_string.
(usage): Mention new option.
* tests/misc/env-S.pl: Test new option from the command line.
* tests/misc/env-S-script.sh: Test new option from shebang scripts.
* tests/local.mk (all_tests): Add new tests.
* man/env.x (OPTIONS): Show a brief example of -S usage and point to
the full documentation for more information.
* doc/coreutils.texi (env invocation): Detail usage of -S/--split-string
option.
* NEWS: Mention new option.
2018-06-20 21:15:31 -07:00
..
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-03-28 00:00:09 -07:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-06-20 21:15:31 -07:00
2018-06-20 21:15:31 -07:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-06-20 21:01:14 -07:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-03-28 00:00:09 -07:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-02 14:07:00 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00
2018-01-01 15:57:22 +00:00