Date: Mon, 20 Jun 2005 03:43:25 +0000 (UTC) From: Garance A Drosehn <gad@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/env Makefile env.1 env.c envopts.c envopts.h Message-ID: <200506200343.j5K3hP03090572@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
gad 2005-06-20 03:43:25 UTC FreeBSD src repository Modified files: usr.bin/env Makefile env.1 env.c Added files: usr.bin/env envopts.c envopts.h Log: 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') Revision Changes Path 1.6 +2 -0 src/usr.bin/env/Makefile 1.6 +341 -29 src/usr.bin/env/env.1 1.15 +19 -3 src/usr.bin/env/env.c 1.1 +430 -0 src/usr.bin/env/envopts.c (new) 1.1 +37 -0 src/usr.bin/env/envopts.h (new)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506200343.j5K3hP03090572>