colrm.c (0da30e9aa76c5df66cd092f30b904824b0594ccc) | colrm.c (1c8af8787354e20c2b38cab5801698133ff8b403) |
---|---|
1/*- 2 * Copyright (c) 1991, 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 --- 50 unchanged lines hidden (view full) --- 59main(argc, argv) 60 int argc; 61 char *argv[]; 62{ 63 register u_long column, start, stop; 64 register int ch; 65 char *p; 66 | 1/*- 2 * Copyright (c) 1991, 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 --- 50 unchanged lines hidden (view full) --- 59main(argc, argv) 60 int argc; 61 char *argv[]; 62{ 63 register u_long column, start, stop; 64 register int ch; 65 char *p; 66 |
67 while ((ch = getopt(argc, argv, "")) != EOF) | 67 while ((ch = getopt(argc, argv, "")) != -1) |
68 switch(ch) { 69 case '?': 70 default: 71 usage(); 72 } 73 argc -= optind; 74 argv += optind; 75 --- 93 unchanged lines hidden --- | 68 switch(ch) { 69 case '?': 70 default: 71 usage(); 72 } 73 argc -= optind; 74 argv += optind; 75 --- 93 unchanged lines hidden --- |