sh: Show negated commands (!) in jobs output.

This commit is contained in:
Jilles Tjoelker 2013-01-31 21:50:44 +00:00
parent b4047f838c
commit f9b7cc523d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=246162

View File

@ -1298,6 +1298,10 @@ cmdtxt(union node *n)
cmdputs(n->narg.text);
cmdputs("() ...");
break;
case NNOT:
cmdputs("! ");
cmdtxt(n->nnot.com);
break;
case NCMD:
for (np = n->ncmd.args ; np ; np = np->narg.next) {
cmdtxt(np);