Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #11495
| From | ziyunfei <446240525@qq.com> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | SHLVL is a random string (uninitialized string in C) when its true value is "1000" |
| Date | 2015-09-17 12:29 +0800 |
| Message-ID | <mailman.1297.1442464190.19560.bug-bash@gnu.org> (permalink) |
$ SHLVL=998 bash -c 'echo $SHLVL' 999 $ SHLVL=999 bash -c 'echo $SHLVL' $ SHLVL=999 bash -c 'echo -n "$SHLVL" | hexdump' 0b 01 $ SHLVL=999 bash -c 'echo -n "$SHLVL" | hexdump' 0f 01 $ SHLVL=999 bash -c 'echo -n "$SHLVL" | hexdump' 04 01 $ SHLVL=1000 bash -c 'echo $SHLVL' bash: warning: shell level (1001) too high, resetting to 1 1
Back to gnu.bash.bug | Previous | Next | Find similar
SHLVL is a random string (uninitialized string in C) when its true value is "1000" ziyunfei <446240525@qq.com> - 2015-09-17 12:29 +0800
csiph-web