RosettaCodeData/Task/Trabb-Pardo-Knuth-algorithm/Jq/trabb-pardo-knuth-algorithm-2.jq

16 lines
359 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
$ echo "Enter 11 numbers on one line; when done, enter the end-of-file character:" ;\
jq -M -s -R -f Trabb_Pardo-Knuth_algorithm.jq
> Enter 11 numbers on one line; when done, enter the end-of-file character:
1 2 3 4 5 6 7 8 9 10 11
"TOO LARGE"
"TOO LARGE"
"TOO LARGE"
"TOO LARGE"
"TOO LARGE"
"TOO LARGE"
"TOO LARGE"
322
136.73205080756887
41.41421356237309
6