The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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 specifed to the command.

-u name

Clears the environment variable name if it exists.

ENVIRONMENT

The working of env is not influenced by any environment variables.

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 occured 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.