if (!strcmp(argv
[0], "-t"))
getfrom(*argv
++), argc
--;
if (freopen(name
, "r", stdin
) == 0) {
if (fgets(headbuf
, sizeof headbuf
, stdin
) == NULL
)
if (headbuf
[1] == 'T' && headbuf
[2] == 'H')
if (headbuf
[1] == 't' && headbuf
[2] == 'h')
if (fgets(linbuf
, sizeof linbuf
, stdin
) == NULL
)
if (linbuf
[1] == 'S' && linbuf
[2] == 'H')
if (linbuf
[1] == 's' && linbuf
[2] == 'h')
register char *dp
= name
, *ep
;
while (*dp
&& *dp
!= '.')
for (ep
= dp
+1; *ep
; ep
++)
if (fgets(linbuf
, sizeof linbuf
, stdin
) == NULL
)
if (linbuf
[1] == 'S' && linbuf
[2] == 'H')
if (linbuf
[1] == 's' && linbuf
[2] == 'h')