I've found in a bash script following line:
what does it mean?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
It is meant to print the environment somewhere else than in stdout, probably because the output will be piped to another program or in a file.
What I don't know is why it uses the command
export and not
But maybe the script is much more complex than that and reads or even executes the content of stderr, anyway stderr is meant as I said to print some output while it being ignored by redirectors or pipes.