develooper Front page | perl.perl5.porters | Postings from April 2008

5.6.x

Thread Previous | Thread Next
From:
Nicholas Clark
Date:
April 28, 2008 07:17
Subject:
5.6.x
Message ID:
20080428141631.GF84051@plum.flirble.org
Subject changed to (try to) avoid sending this thread back to RT

On Mon, Apr 28, 2008 at 04:14:07AM -0700, Justin Mason via RT wrote:

> GNU coreutils version 6.9 has removed support for "sort +n", deprecated in
> favour of "-k n", it seems:

> : jm 6...; diff -u Configure.orig Configure
> --- Configure.orig      2008-04-28 10:21:20.000000000 +0000
> +++ Configure   2008-04-28 10:21:40.000000000 +0000
> @@ -14249,7 +14249,7 @@
> 
>  set signal
>  if eval $compile_ok; then
> -       ./signal$_exe | $sort -n +1 | $uniq | $awk -f signal.awk >signal.lst
> +       ./signal$_exe | $sort -n -k 1 | $uniq | $awk -f signal.awk >signal.lst
>  else
>         echo "(I can't seem be able to compile the whole test program)" >&4
>         echo "(I'll try it in little pieces.)" >&4

We actually have this in Configure:

if eval $compile_ok; then
	$run ./signal$_exe | ($sort -n -k 2 2>/dev/null || $sort -n +1) |\
		$uniq | $awk -f signal.awk >signal.lst
else

> Site configuration information for perl v5.6.2:

5.6.0 came out over 8 years ago.

a: What's our policy on attempting to support it?
b: What's the diplomatic answer to the bug report as a result of that?

Nicholas Clark

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About