projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update from Rodney Ruddock
[unix-history]
/
usr
/
src
/
contrib
/
ed
/
bang.c
diff --git
a/usr/src/contrib/ed/bang.c
b/usr/src/contrib/ed/bang.c
index
59ca630
..
48cbb91
100644
(file)
--- a/
usr/src/contrib/ed/bang.c
+++ b/
usr/src/contrib/ed/bang.c
@@
-9,7
+9,7
@@
*/
#ifndef lint
*/
#ifndef lint
-static char sccsid[] = "@(#)bang.c 5.
3
(Berkeley) %G%";
+static char sccsid[] = "@(#)bang.c 5.
4
(Berkeley) %G%";
#endif /* not lint */
#include <sys/types.h>
#endif /* not lint */
#include <sys/types.h>
@@
-82,7
+82,7
@@
bang(inputt, errnum)
}
system(l_shellcmd);
}
system(l_shellcmd);
- if (explain_flag
!= 0)
/* for the -s option */
+ if (explain_flag
> 0)
/* for the -s option */
printf("!\n");
l_cnt_last_pos = l_cnt;
*errnum = 0;
printf("!\n");
l_cnt_last_pos = l_cnt;
*errnum = 0;