home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
new
/
comm
/
bbs
/
eazybbs
/
source
/
unspace.c
< prev
Wrap
C/C++ Source or Header
|
1994-09-08
|
442b
|
33 lines
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <proto/dos.h>
#include <proto/exec.h>
#define VERSION "1.1"
static char *version = "\0$VER: unspace " VERSION " (" __AMIGADATE__ ")";
int main(int argc, char *argv[])
{
int i;
for (i = 1; i < argc; ++i) {
char *s = argv[i];
while (*s) {
if (*s == ' ')
putchar('_');
else
putchar(*s);
++s;
}
putchar('\n');
}
exit(0);
}