version 1.20, 2015/08/20 22:32:42 |
version 1.21, 2015/10/03 20:12:53 |
|
|
errx(2, "-o cannot be used with multiple input files"); |
errx(2, "-o cannot be used with multiple input files"); |
if (argc > 1 && !inplace) |
if (argc > 1 && !inplace) |
errx(2, "multiple input files require -m or -M"); |
errx(2, "multiple input files require -m or -M"); |
|
if (argc == 0 && inplace) |
|
errx(2, "can't edit stdin in place"); |
if (argc == 0) |
if (argc == 0) |
argc = 1; |
argc = 1; |
if (argc == 1 && !inplace && ofilename == NULL) |
if (argc == 1 && !inplace && ofilename == NULL) |