column.c (80292) | column.c (87213) |
---|---|
1/* 2 * Copyright (c) 1989, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * | 1/* 2 * Copyright (c) 1989, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 25 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * |
33 * $FreeBSD: head/usr.bin/column/column.c 80292 2001-07-24 14:13:34Z obrien $ | 33 * $FreeBSD: head/usr.bin/column/column.c 87213 2001-12-02 13:18:59Z markm $ |
34 */ 35 36#ifndef lint 37static const char copyright[] = 38"@(#) Copyright (c) 1989, 1993, 1994\n\ 39 The Regents of the University of California. All rights reserved.\n"; 40#endif /* not lint */ 41 --- 22 unchanged lines hidden (view full) --- 64void usage __P((void)); 65 66int termwidth = 80; /* default terminal width */ 67 68int entries; /* number of records */ 69int eval; /* exit value */ 70int maxlength; /* longest record */ 71char **list; /* array of pointers to records */ | 34 */ 35 36#ifndef lint 37static const char copyright[] = 38"@(#) Copyright (c) 1989, 1993, 1994\n\ 39 The Regents of the University of California. All rights reserved.\n"; 40#endif /* not lint */ 41 --- 22 unchanged lines hidden (view full) --- 64void usage __P((void)); 65 66int termwidth = 80; /* default terminal width */ 67 68int entries; /* number of records */ 69int eval; /* exit value */ 70int maxlength; /* longest record */ 71char **list; /* array of pointers to records */ |
72char *separator = "\t "; /* field separator for table option */ | 72const char *separator = "\t "; /* field separator for table option */ |
73 74int 75main(argc, argv) 76 int argc; 77 char **argv; 78{ 79 struct winsize win; 80 FILE *fp; --- 221 unchanged lines hidden --- | 73 74int 75main(argc, argv) 76 int argc; 77 char **argv; 78{ 79 struct winsize win; 80 FILE *fp; --- 221 unchanged lines hidden --- |