tr.c (3f330d7d1a3fe98c53faf01d0f30c0a9fbb37c41) tr.c (85f6c317eaba505a515597b930b9e87a13ab81c3)
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

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

100int
101main(argc, argv)
102 int argc;
103 char **argv;
104{
105 int ch, cnt, lastch, *p;
106 int cflag, dflag, sflag, isstring2;
107
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

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

100int
101main(argc, argv)
102 int argc;
103 char **argv;
104{
105 int ch, cnt, lastch, *p;
106 int cflag, dflag, sflag, isstring2;
107
108 (void) setlocale(LC_CTYPE, "");
108 (void)setlocale(LC_ALL, "");
109
110 cflag = dflag = sflag = 0;
111 while ((ch = getopt(argc, argv, "cdsu")) != -1)
112 switch((char)ch) {
113 case 'c':
114 cflag = 1;
115 break;
116 case 'd':

--- 158 unchanged lines hidden ---
109
110 cflag = dflag = sflag = 0;
111 while ((ch = getopt(argc, argv, "cdsu")) != -1)
112 switch((char)ch) {
113 case 'c':
114 cflag = 1;
115 break;
116 case 'd':

--- 158 unchanged lines hidden ---