aboutsummaryrefslogtreecommitdiffstats
path: root/test/arraysort.ok
diff options
context:
space:
mode:
Diffstat (limited to 'test/arraysort.ok')
-rw-r--r--test/arraysort.ok85
1 files changed, 53 insertions, 32 deletions
diff --git a/test/arraysort.ok b/test/arraysort.ok
index bf48ecda..23d7c44a 100644
--- a/test/arraysort.ok
+++ b/test/arraysort.ok
@@ -1,7 +1,7 @@
--- test1 ---
- 5 5
10 10
3D 3D
+ 5 5
--- test2 ---
x 1
y 1
@@ -26,37 +26,58 @@ y 1
"3 "
"4"
--- test7 ---
+--unsorted--
+|4|4|
+|5|5|
+|D3|D3|
+|3D|3D|
+| 3| 3|
+|0|0|
+|1|1|
+|2|2|
+|3|3|
+| 4 | 4 |
--asc ind str--
-| 3| 3
-| 4 | 4
-|0|0
-|1|1
-|2|2
-|3|3
-|3D|3D
-|4|4
-|5|5
-|D3|D3
+| 3| 3|
+| 4 | 4 |
+|0|0|
+|1|1|
+|2|2|
+|3|3|
+|3D|3D|
+|4|4|
+|5|5|
+|D3|D3|
+--asc val str--
+| 3| 3|
+| 4 | 4 |
+|0|0|
+|1|1|
+|2|2|
+|3|3|
+|3D|3D|
+|4|4|
+|5|5|
+|D3|D3|
--asc ind num--
-|0|0
-|D3|D3
-|1|1
-|2|2
-| 3| 3
-|3|3
-|3D|3D
-| 4 | 4
-|4|4
-|5|5
+|0|0|
+|D3|D3|
+|1|1|
+|2|2|
+| 3| 3|
+|3|3|
+|3D|3D|
+| 4 | 4 |
+|4|4|
+|5|5|
--asc val num--
-gawk: arraysort.awk:79: warning: `PROCINFO["sorted_in"]': sorting by value can't be forced to use numeric comparison
-|4|4
-|5|5
-|D3|D3
-|3D|3D
-| 3| 3
-|0|0
-|1|1
-|2|2
-|3|3
-| 4 | 4
+|0|0|
+|D3|D3|
+|1|1|
+|2|2|
+| 3| 3|
+|3|3|
+|3D|3D|
+| 4 | 4 |
+|4|4|
+|5|5|