home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 January
/
usenetsourcesnewsgroupsinfomagicjanuary1994.iso
/
sources
/
unix
/
volume22
/
auth-utils
/
part01
/
util
/
u@h2h.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1990-04-29
|
269 b
|
21 lines
/* u@h2h version 1.0, 4/20/90. */
#include <stdio.h>
main()
{
char buf[2048];
int i;
int j;
while (fgets(buf,sizeof(buf),stdin) != NULL)
{
j = -1;
for (i = 0;buf[i];i++)
if (buf[i] == '@')
j = i;
fputs(buf + j + 1,stdout);
}
exit(0);
}