Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCHv2] [bug] $SHLVL decremented for the last command of a subshell



2016-08-30 20:54:29 +0100, Stephane Chazelas:
[...]
> Yes, it's not POSIX. It was probably either a tcsh or bash
> invention as both had it in 1990 and ksh88 didn't and still
> doesn't have it.
[...]

tcsh.

https://groups.google.com/forum/#!original/net.sources/WdFUCQb7vr0/o3NafIxCUV4J
https://groups.google.com/forum/#!original/net.sources/VpHdbFdEi0w/a_AgLdbJbxkJ
(1984) a patch for tcsh with SHLVL referenced.

Strangely though, tcsh 5.7 from 1987 didn't have it.

-- 
Stephane



Messages sorted by: Reverse Date, Date, Thread, Author