--- findutils-4.1.7/xargs/xargs.c.i 2003-03-17 13:00:56.000000000 +0000 +++ findutils-4.1.7/xargs/xargs.c 2003-03-17 13:13:45.000000000 +0000 @@ -340,7 +340,11 @@ args_per_exec = parse_num (optarg, 'n', 1L, -1L); /* -n excludes -i -l. */ lines_per_exec = 0; - replace_pat = NULL; + if (args_per_exec == 1 && replace_pat) + /* ignore -n1 in '-i -n1' */ + args_per_exec = 0; + else + replace_pat = NULL; break; case 's':