5 int main(int argc
, char *argv
[])
13 fprintf(stderr
, "Usage: %s filename...\n", argv
[0]);
17 for (i
= 1; i
< argc
; i
++) {
18 f
= fopen(argv
[i
], "r");
20 fprintf(stderr
, "%s: %s: file not found\n", argv
[0], argv
[i
]);
24 while ((len
= fread(buf
, 1, sizeof buf
, f
)) > 0)
25 fwrite(buf
, 1, len
, stdout
);