1 '\" Copyright (C) 1998-2024 Free Software Foundation, Inc.
3 '\" This is free software. You may redistribute copies of it under the terms
4 '\" of the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
5 '\" There is NO WARRANTY, to the extent permitted by law.
7 env \- run a program in a modified environment
9 .\" Add any additional description here
10 [SCRIPT OPTION HANDLING]
13 option allows specifying multiple arguments in a script.
14 Running a script named
16 containing the following first line:
20 #!/usr/bin/env \-S perl \-w \-T
26 .B "perl \-w \-T 1.pl"
30 parameter the script will likely fail with:
34 /usr/bin/env: 'perl \-w \-T': No such file or directory
38 See the full documentation for more details.
42 POSIX's exec(3p) pages says:
44 "many existing applications wrongly assume that they start with certain
45 signals set to the default action and/or unblocked.... Therefore, it is best
46 not to block or ignore signals across execs without explicit reason to do so,
47 and especially not to block signals across execs of arbitrary (not closely
48 cooperating) programs."
52 sigaction(2), sigprocmask(2), signal(7)