Imported from ../bash-2.01.tar.gz.
This commit is contained in:
parent
ccc6cda312
commit
d166f04881
304 changed files with 14702 additions and 13012 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue