tr.c (91562) | tr.c (92922) |
---|---|
1/* 2 * Copyright (c) 1988, 1993 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 --- 19 unchanged lines hidden (view full) --- 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 34#include <sys/cdefs.h> 35 | 1/* 2 * Copyright (c) 1988, 1993 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 --- 19 unchanged lines hidden (view full) --- 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 34#include <sys/cdefs.h> 35 |
36__FBSDID("$FreeBSD: head/usr.bin/tr/tr.c 91562 2002-03-02 10:36:37Z alfred $"); | 36__FBSDID("$FreeBSD: head/usr.bin/tr/tr.c 92922 2002-03-22 01:42:45Z imp $"); |
37 38#ifndef lint 39static const char copyright[] = 40"@(#) Copyright (c) 1988, 1993\n\ 41 The Regents of the University of California. All rights reserved.\n"; 42#endif 43 44#ifndef lint --- 44 unchanged lines hidden (view full) --- 89 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef, 90 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 91 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff, 92}, string2[NCHARS]; 93 94STR s1 = { STRING1, NORMAL, 0, OOBCH, { 0, OOBCH }, NULL, NULL }; 95STR s2 = { STRING2, NORMAL, 0, OOBCH, { 0, OOBCH }, NULL, NULL }; 96 | 37 38#ifndef lint 39static const char copyright[] = 40"@(#) Copyright (c) 1988, 1993\n\ 41 The Regents of the University of California. All rights reserved.\n"; 42#endif 43 44#ifndef lint --- 44 unchanged lines hidden (view full) --- 89 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef, 90 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 91 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff, 92}, string2[NCHARS]; 93 94STR s1 = { STRING1, NORMAL, 0, OOBCH, { 0, OOBCH }, NULL, NULL }; 95STR s2 = { STRING2, NORMAL, 0, OOBCH, { 0, OOBCH }, NULL, NULL }; 96 |
97static void setup __P((int *, char *, STR *, int)); 98static void usage __P((void)); | 97static void setup(int *, char *, STR *, int); 98static void usage(void); |
99 100int 101main(argc, argv) 102 int argc; 103 char **argv; 104{ 105 int ch, cnt, lastch, *p; 106 int cflag, dflag, sflag, isstring2; --- 168 unchanged lines hidden --- | 99 100int 101main(argc, argv) 102 int argc; 103 char **argv; 104{ 105 int ch, cnt, lastch, *p; 106 int cflag, dflag, sflag, isstring2; --- 168 unchanged lines hidden --- |