NAME

env - Run a program in a modified environment

SYNOPSIS

env [-i] [-u name]... [name=value]... [command [args]...]

DESCRIPTION

env runs a command with the environment modified as specified by the command line. If no command is specified, env prints out the modified environment.

OPTIONS

env accepts the following options:

-i

Clears the environment, passing only the values specified to the command.

-u name

Clears the environment variable name if it exists. The value must not include the '=' character. This option may be repeated.

DIAGNOSTICS

If the command is invoked, the exit status of env will be the exit status of the command. Otherwise, env will return one of the following values:

0          env completed successfully.
1-125      An error occurred in env.
127        There was an error running the command specified.

BUGS

env has no known bugs.

AUTHOR

This Perl version of env was written by Matthew Bafford, dragons@scescape.net.

COPYRIGHT and LICENSE

This program is copyright (c) Matthew Bafford 1999.

This program is free and open software. You may use, modify, distribute, and sell this program (and any modified variants) in any way you wish, provided you do not restrict others from doing the same.