coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[coreutils] [PATCH] maint: remove a redundant sort parameter from a test


From: Pádraig Brady
Subject: [coreutils] [PATCH] maint: remove a redundant sort parameter from a test
Date: Mon, 24 May 2010 13:08:54 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3

I just pushed this trivial change in case
others used this test as a template for other scripts.

diff --git a/tests/misc/sort-month b/tests/misc/sort-month
index aee5215..8a8e4fa 100755
--- a/tests/misc/sort-month
+++ b/tests/misc/sort-month
@@ -30,7 +30,7 @@ locale --version >/dev/null 2>&1 ||
 for LOC in "$LOCALE_FR" "$LOCALE_FR_UTF8" "ja_JP.utf8"; do
   mon="$(LC_ALL="$LOC" locale abmon 2>/dev/null);"
   smon=$(LC_ALL="$LOC" locale abmon 2>/dev/null |
-          tr ';' '\n' | shuf | nl | LC_ALL="$LOC" sort -b -k2,2M |
+          tr ';' '\n' | shuf | nl | LC_ALL="$LOC" sort -k2,2M |
           cut -f2 | tr '\n' ';')
   test "$mon" = "$smon" || { fail=1; break; }
 done



reply via email to

[Prev in Thread] Current Thread [Next in Thread]