UNEXPORT(1)

πŸ“¦ version 2.9.9.2, in nixpkgs unstable

🌈 UNEXPORT(1) 🌈

okay so bestie, this is UNEXPORT(1) from the General Commands Manual β€” short, sweet, and lowkey iconic. let’s get into it πŸ’–


✨ NAME ✨

unexport β€” remove a variable from the environment, then execute a program

πŸŽ€ SYNOPSIS πŸŽ€

unexport var prog...

πŸ’… DESCRIPTION πŸ’…

okay so here’s the vibe: unexport removes the var variable from the environment, then exec(3)s into prog with its arguments. slay.

🫢 important: unsetting var is quite different from setting it to an empty value. Shell scripts usually won’t make the distinction; execline does.

πŸ”₯ SEE ALSO πŸ”₯

go give these besties a look: emptyenv(1), envfile(1), exec(1), execline-cd(1), execline-umask(1), exit(1), export(1), fdblock(1), fdclose(1), fdmove(1), fdreserve(1), fdswap(1), getcwd(1), getpid(1), heredoc(1), piperw(1), posix-cd(1), posix-umask(1), redirfd(1), trap(1), tryexec(1), wait(1), withstdinas(1), exec(3)

This man page is ported from the authoritative documentation at: https://skarnet.org/software/execline/unexport.html

πŸ‘‘ AUTHORS πŸ‘‘

  • Laurent Bercot
  • Alexis <flexibeast@gmail.com> (man page port)

xoxo, from Debian β€” February 14, 2021 πŸ’Œ

πŸ“¦ where this page comes from