1 --- coreutils-5.0/src/head.c.orig Tue Oct 1 10:47:44 2002
2 +++ coreutils-5.0/src/head.c Wed Jan 14 14:54:24 2004
7 - if (200112 <= posix2_version ())
8 + if ((200112 <= posix2_version ()) && getenv("POSIXLY_CORRECT"))
10 error (0, 0, _("`-%s' option is obsolete; use `-%c %.*s%.*s%s'"),
11 n_string, count_lines ? 'n' : 'c',
12 --- coreutils-5.0/src/tail.c.orig Sat Dec 14 18:26:21 2002
13 +++ coreutils-5.0/src/tail.c Wed Jan 14 14:55:59 2004
18 - obsolete_usage = (posix2_version () < 200112);
19 + obsolete_usage = ((posix2_version () < 200112) || !getenv("POSIXLY_CORRECT"));
21 /* If P starts with `+' and the POSIX version predates 1003.1-2001,
22 or if P starts with `-N' (where N is a digit), or `-l', then it