Andreas Kähäri <andreas.kah...@abc.se> writes:

The external env(1) utility will only ever list environment variables.
The IFS variable does not need to be exported as an environment
variable
as it's only ever used by the current shell (and any new shell would
reset it).

To list all variables in a shell, use the built-in set utility without
any arguments.

$ (unset -v IFS; ksh -c 'set' | grep -A 1 IFS)
IFS='
'

$ (unset -v IFS; ksh -c 'printf "%s" "$IFS" | hexdump -C')
00000000 20 09 0a | ..|
00000003

i stand corrected.


Alexis.

Reply via email to