diff options
author | Jari Aalto <jari.aalto@cante.net> | 1997-06-05 14:59:13 +0000 |
---|---|---|
committer | Jari Aalto <jari.aalto@cante.net> | 2009-09-12 16:46:50 +0000 |
commit | d166f048818e10cf3799aa24a174fb22835f1acc (patch) | |
tree | 1ca27f9243900f8b236d0cde6a3862002aea9e19 /support/recho.c | |
parent | ccc6cda312fea9f0468ee65b8f368e9653e1380b (diff) | |
download | bash-d166f048818e10cf3799aa24a174fb22835f1acc.tar.gz |
Imported from ../bash-2.01.tar.gz.
Diffstat (limited to 'support/recho.c')
-rw-r--r-- | support/recho.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/support/recho.c b/support/recho.c index 847fa2c2..141c763c 100644 --- a/support/recho.c +++ b/support/recho.c @@ -1,5 +1,8 @@ #include <stdio.h> +void strprint(); + +int main(argc, argv) int argc; char **argv; @@ -11,13 +14,14 @@ char **argv; strprint(argv[i]); printf(">\n"); } + exit(0); } +void strprint(str) char *str; { register char *s; - int c; for (s = str; s && *s; s++) { if (*s < ' ') { @@ -29,5 +33,4 @@ char *str; } else putchar(*s); } - return(0); } |