diff options
author | jilles <jilles@FreeBSD.org> | 2013-01-31 21:50:44 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2013-01-31 21:50:44 +0000 |
commit | db776358609f413859fd26bef6a4909866848ccf (patch) | |
tree | d71870b00279a1b5a37ac18aa3557d9bdec1d3d7 /bin | |
parent | 93846e1f92f319af1c0a773394db3a721d7d4fbd (diff) | |
download | FreeBSD-src-db776358609f413859fd26bef6a4909866848ccf.zip FreeBSD-src-db776358609f413859fd26bef6a4909866848ccf.tar.gz |
sh: Show negated commands (!) in jobs output.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/jobs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/sh/jobs.c b/bin/sh/jobs.c index 02cf6e8..d2e1d57 100644 --- a/bin/sh/jobs.c +++ b/bin/sh/jobs.c @@ -1298,6 +1298,10 @@ until: 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); |