Files
coreutils/man
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
..
2007-07-10 19:00:00 +02:00
2006-02-27 10:43:01 +00:00
2007-03-29 21:37:05 +02:00
2014-06-19 19:56:58 +01:00
…
…
…
…
…
…
2018-06-20 21:15:31 -07:00
2003-04-10 07:15:38 +00:00
…
…
…
…
…
…
…
2007-10-07 19:44:38 +02:00
…
…
2013-01-24 01:38:17 +00:00
…
…
…
…
…
2007-03-29 21:37:06 +02:00
…
2005-10-23 15:18:13 +00:00
2005-10-23 15:18:13 +00:00
2005-10-23 15:18:13 +00:00
2005-10-23 15:18:13 +00:00
…
…
…
…
2018-06-14 12:07:38 -07:00
2017-05-03 18:17:48 -07:00
…
…
2009-02-22 10:16:15 -07:00
…
…
2007-07-10 19:00:00 +02:00
2003-04-10 07:15:29 +00:00
…
…
…
…
…