Good point! Will make note of that too. On Sat, Apr 8, 2017 at 7:15 PM, Chet Ramey <chet.ra...@case.edu> wrote:
> On 4/8/17 6:48 PM, Rocky Bernstein wrote: > > Thanks for giving me a heads up here. I have updated the bashdb > > documentation for the skip command make clear that $? is no changed in > > skipping an instruction. > > OK. I was more concerned with documenting that using "skip" on the while > command test will result in it succeeding and the while command body > executing. > > (And the state that the DEBUG trap saves is the same as any other trap > command: the only thing Posix says that gets saved and restored is $?.) > > Chet > > -- > ``The lyf so short, the craft so long to lerne.'' - Chaucer > ``Ars longa, vita brevis'' - Hippocrates > Chet Ramey, UTech, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~ > chet/ >