freebsd-nq/usr.bin/env
Garance A Drosehn b5418f5134 Fix two minor parsing bugs in -S processing:
1) An unquoted space is always a separator, even when not "in_arg".
 2) When a new destination buffer must be allocated during variable
    substitution, only copy data from the active buffer to the new
    one when we *are* "in_arg".
These were noticed when testing variable-substitution of variables
which have null values, and are not inside quoted strings...

MFC plans:	after a few days, and re@ approval...
2005-07-13 15:56:30 +00:00
..
env.1 Tidy up the markup. 2005-06-22 19:04:07 +00:00
env.c Undo r1.14 to env.c. While it is unusual for environment variables to 2005-06-21 19:38:26 +00:00
envopts.c Fix two minor parsing bugs in -S processing: 2005-07-13 15:56:30 +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