Deleted Added
full compact
cat.c (59239) cat.c (78732)
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kevin Fall.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 31 unchanged lines hidden (view full) ---

40 The Regents of the University of California. All rights reserved.\n";
41#endif /* not lint */
42
43#ifndef lint
44#if 0
45static char sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
46#endif
47static const char rcsid[] =
1/*
2 * Copyright (c) 1989, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * This code is derived from software contributed to Berkeley by
6 * Kevin Fall.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 31 unchanged lines hidden (view full) ---

40 The Regents of the University of California. All rights reserved.\n";
41#endif /* not lint */
42
43#ifndef lint
44#if 0
45static char sccsid[] = "@(#)cat.c 8.2 (Berkeley) 4/27/95";
46#endif
47static const char rcsid[] =
48 "$FreeBSD: head/bin/cat/cat.c 59239 2000-04-14 21:01:35Z asmodai $";
48 "$FreeBSD: head/bin/cat/cat.c 78732 2001-06-24 23:04:23Z dd $";
49#endif /* not lint */
50
51#include <sys/param.h>
52#include <sys/stat.h>
53
54#include <ctype.h>
55#include <err.h>
56#include <fcntl.h>
57#include <locale.h>
58#include <stdio.h>
59#include <stdlib.h>
49#endif /* not lint */
50
51#include <sys/param.h>
52#include <sys/stat.h>
53
54#include <ctype.h>
55#include <err.h>
56#include <fcntl.h>
57#include <locale.h>
58#include <stdio.h>
59#include <stdlib.h>
60#include <string.h>
60#include <unistd.h>
61
62int bflag, eflag, nflag, sflag, tflag, vflag;
63int rval;
64const char *filename;
65
66void cook_args __P((char *argv[]));
67void cook_buf __P((FILE *));

--- 195 unchanged lines hidden ---
61#include <unistd.h>
62
63int bflag, eflag, nflag, sflag, tflag, vflag;
64int rval;
65const char *filename;
66
67void cook_args __P((char *argv[]));
68void cook_buf __P((FILE *));

--- 195 unchanged lines hidden ---