home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
gnu
/
man
/
cat1
/
env.0
< prev
next >
Wrap
Text File
|
1993-12-07
|
2KB
|
67 lines
ENV(1L) ENV(1L)
NNAAMMEE
env - run a program in a modified environment
SSYYNNOOPPSSIISS
eennvv [-] [-i] [-u name] [--ignore-environment]
[--unset=name] [name=value]... [command [args...]]
DDEESSCCRRIIPPTTIIOONN
This manual page documents the GNU version of eennvv. eennvv
runs a command with an environment modified as specified
by the command line arguments. Arguments of the form
`variable=value' set the environment variable _v_a_r_i_a_b_l_e to
value _v_a_l_u_e. _v_a_l_u_e may be empty (`variable='). Setting a
variable to an empty value is different from unsetting it.
The first remaining argument specifies a program to
invoke; it is searched for according to the specification
of the PATH environment variable. Any arguments following
that are passed as arguments to that program.
If no command name is specified following the environment
specifications, the resulting environment is printed.
This is like specifying a command name of `printenv'.
OOPPTTIIOONNSS
_-_u_, _-_-_u_n_s_e_t _n_a_m_e
Remove variable _n_a_m_e from the environment, if it
was in the environment.
_-_, _-_i_, _-_-_i_g_n_o_r_e_-_e_n_v_i_r_o_n_m_e_n_t
Start with an empty environment, ignoring the
inherited environment.
The long-named options can be introduced with `+' as well
as `--', for compatibility with previous releases. Even-
tually support for `+' will be removed, because it is
incompatible with the POSIX.2 standard.
1