+2009-05-13 Eric Blake <ebb9@byu.net>
+
+ Document zsh bug with empty commands.
+ * doc/autoconf.texi (Special Shell Variables) <?>: Add mention of
+ more problems with $?.
+
2009-05-11 Patrick Welche <prlw1@cam.ac.uk> (tiny change)
Also try X11R7 when looking for X11 files, for NetBSD.
@c Alphabetical order, case insensitive, `A' before `a'.
@table @code
+@item ?
+Not all shells correctly reset @samp{$?} after conditionals (@pxref{if,
+, Limitations of Shell Builtins}). Not all shells manage @samp{$?}
+correctly in shell functions (@pxref{Shell Functions}) or in traps
+(@pxref{trap, , Limitations of Shell Builtins}). Not all shells reset
+@samp{$?} to zero after an empty command.
+
+@example
+$ @kbd{bash -c 'false; $empty; echo $?'}
+0
+$ @kbd{zsh -c 'false; $empty; echo $?'}
+1
+@end example
+
@item _
Many shells reserve @samp{$_} for various purposes, e.g., the name of
the last command executed.
item @samp{$@@}, for more.
+@anchor{if}
@item @command{if}
@c ---------------
@prindex @command{if}