freebsd-skq/usr.bin/env
gad 82ebcba30a Add the '-S' and '-P' options. The '-S' option can be used to split
apart a string, and supports some text substitutions.  This can be
used to provide all the flexibility (and more!) that was lost by recent
changes to how the kernel parses #!-lines in shell scripts.

The '-P' option provides a way to specify an alternate set of directories
to use when searching for the 'utility' program to run.  This way you can
be sure what directories are used for that search, without changing the
value of PATH that the user has set.  Note that on FreeBSD 6.0, this
option is worthless unless the '-S' option is also used.

Approved by:	re (blanket `env')
2005-06-20 03:43:25 +00:00
..
env.1 Add the '-S' and '-P' options. The '-S' option can be used to split 2005-06-20 03:43:25 +00:00
env.c Add the '-S' and '-P' options. The '-S' option can be used to split 2005-06-20 03:43:25 +00:00
envopts.c Add the '-S' and '-P' options. The '-S' option can be used to split 2005-06-20 03:43:25 +00:00
envopts.h Add the '-S' and '-P' options. The '-S' option can be used to split 2005-06-20 03:43:25 +00:00
Makefile Add the '-S' and '-P' options. The '-S' option can be used to split 2005-06-20 03:43:25 +00:00