=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/awk/main.c,v retrieving revision 1.29 retrieving revision 1.30 diff -c -r1.29 -r1.30 *** src/usr.bin/awk/main.c 2020/06/10 21:02:19 1.29 --- src/usr.bin/awk/main.c 2020/06/10 21:02:33 1.30 *************** *** 1,4 **** ! /* $OpenBSD: main.c,v 1.29 2020/06/10 21:02:19 millert Exp $ */ /**************************************************************** Copyright (C) Lucent Technologies 1997 All Rights Reserved --- 1,4 ---- ! /* $OpenBSD: main.c,v 1.30 2020/06/10 21:02:33 millert Exp $ */ /**************************************************************** Copyright (C) Lucent Technologies 1997 All Rights Reserved *************** *** 23,29 **** THIS SOFTWARE. ****************************************************************/ ! const char *version = "version 20190617"; #define DEBUG #include --- 23,29 ---- THIS SOFTWARE. ****************************************************************/ ! const char *version = "version 20190910"; #define DEBUG #include *************** *** 95,108 **** case 'f': /* next argument is program filename */ if (argv[1][2] != 0) { /* arg is -fsomething */ if (npfile >= MAX_PFILE - 1) ! FATAL("too many -f options"); pfile[npfile++] = &argv[1][2]; } else { /* arg is -f something */ argc--; argv++; if (argc <= 1) FATAL("no program filename"); if (npfile >= MAX_PFILE - 1) ! FATAL("too many -f options"); pfile[npfile++] = argv[1]; } break; --- 95,108 ---- case 'f': /* next argument is program filename */ if (argv[1][2] != 0) { /* arg is -fsomething */ if (npfile >= MAX_PFILE - 1) ! FATAL("too many -f options"); pfile[npfile++] = &argv[1][2]; } else { /* arg is -f something */ argc--; argv++; if (argc <= 1) FATAL("no program filename"); if (npfile >= MAX_PFILE - 1) ! FATAL("too many -f options"); pfile[npfile++] = argv[1]; } break;