From 3de4cd0ba95672b642e26dafe338034598437b96 Mon Sep 17 00:00:00 2001 From: Tim Ledbetter Date: Sun, 25 Jun 2023 12:28:00 +0100 Subject: [PATCH] Base: Add man page for env --- Base/usr/share/man/man1/env.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Base/usr/share/man/man1/env.md diff --git a/Base/usr/share/man/man1/env.md b/Base/usr/share/man/man1/env.md new file mode 100644 index 0000000000..e0191b945a --- /dev/null +++ b/Base/usr/share/man/man1/env.md @@ -0,0 +1,19 @@ +## Name + +env - Execute a command with a modified environment + +## Synopsis + +```sh +$ env [--ignore-environment] [--split-string S] [--unset name] [env/command...] +``` + +## Options + +* `-i`, `--ignore-environment`: Start with an empty environment +* `-S S`, `--split-string S`: Process and split S into separate arguments; used to pass multiple arguments on shebang lines +* `-u name`, `--unset name`: Remove variable from the environment + +## Arguments + +* `env/command`: Environment and commands