[Show "Revision History"] [Show "General Page Infos"] [Show "Page hits and edits"]

Revision History

Showing page edit history entries from 1 to 47 out of 47 entries total. (5 | 10 | 25 | 50 | 100 | 200 items per page)

# Date Size Editor Comment Action
47 2021-02-02 22:04:50 12932 to previous geirha prefer var over $var in arithmetic context view
46 2018-10-26 15:17:33 12935 to previous GreyCat New example: Awk as a source of seeded pseudorandom numbers view
45 2018-04-05 21:35:56 11322 to previous emg add space between option -v and option argument n="$n" for awk view
44 2016-08-04 14:30:58 11321 to previous GreyCat In shuffle(), max needs to be recalculated each time i changes. view
43 2015-11-06 17:49:53 11308 to previous GreyCat Clean up the text a bit. Put the simpler examples (counting lines) first. view
42 2015-05-25 17:52:20 11381 to previous izabera removed extra line view
41 2015-05-25 17:47:04 11459 to previous izabera removed obsolete remark about sort -R view
40 2015-03-05 00:07:26 11753 to previous izabera   view
39 2014-05-01 17:52:24 11593 to previous exit1 fix bug in awk, warn about srand() view
38 2014-05-01 17:37:26 11378 to previous hosted-by   view
37 2014-05-01 17:09:07 11239 to previous You do _not_ need to know in advance how many lines are in a file to choose a random one. awk example view
36 2014-04-02 15:55:28 10443 to previous geirha read was missing -d view
35 2012-12-21 01:17:21 10440 to previous GreyCat Add section on external random data sources; clean up the rest. view
34 2012-11-27 14:25:08 5465 to previous geirha move expansion outside printf's format string view
33 2012-04-20 07:37:31 5460 to previous ormaaj Now fixed in major shells. view
32 2011-09-06 19:02:40 5309 to previous GreyCat don't use array=($(...)) view
31 2011-03-21 15:34:49 5273 to previous GreyCat neither "compact" nor "sparse" appears in the manual, but people know what a sparse array is, and I've never heard of a "compact" array, so... keep it clear. view
30 2011-03-21 14:37:03 5252 to previous 84-73-54-61 "Non-sparse" == "Compact" view
29 2010-10-08 17:44:15 5255 to previous geirha   view
28 2010-03-29 19:46:41 5255 to previous geirha Lacking file argument view
27 2010-01-11 22:12:19 5247 to previous GreyCat link to interesting mailing list post view
26 2009-12-30 18:27:00 4938 to previous MatthiasPopp   view
25 2009-10-11 06:04:39 4915 to previous ppp089210052208   view
24 2009-10-11 06:02:56 4991 to previous ppp089210052208 change the posix tag, add some posix solutions, some clean up view
23 2009-10-10 10:00:23 5963 to previous ppp089210047129 a note about RANDOM. is it really posix ? pgas view
22 2009-10-10 00:12:54 5890 to previous NeilMoore IFS='' read -r view
21 2009-09-15 18:02:43 5880 to previous GreyCat -- fixup, and a couple other minor fixes view
20 2009-03-03 12:54:36 5773 to previous localhost   view
19 2008-11-29 22:48:51 5773 to previous 216-15-65-163 Just noticed your -n after sort. Disregard my previous edits. :\ view
18 2008-11-29 22:35:02 5784 to previous 216-15-65-163 Fixed the glitch I added with my previous edit. This should survive BourneShell without $RANDOM just fine. view
17 2008-11-29 22:29:15 5781 to previous 216-15-65-163 0$RANDOM will generate strings between 01 and 032767 -- %0.5d will generate strings between 000001 and 032767 -- the latter will sort properly. view
16 2008-11-22 21:34:01 5773 to previous GreyCat first-line view
15 2008-11-22 14:09:27 5775 to previous localhost converted to 1.6 markup view
14 2008-05-16 16:29:33 5769 to previous GreyCat clean up and adjust links view
13 2008-02-06 14:28:54 5799 to previous GreyCat You can't "pass back" an array using echo "${array[@]}" at the end of a function. This flattens the array into a string, and the elements could contain spaces. view
12 2008-02-06 12:07:00 5749 to previous adsl-71-138-131-18   view
11 2008-02-05 16:58:48 5499 to previous GreyCat shuffling an array view
10 2007-11-30 02:59:22 4251 to previous GreyCat change internal link view
9 2007-08-30 02:03:48 4243 to previous GreyCat minor clean-up view
8 2007-07-23 15:20:31 4233 to previous cpe-74-65-28-251 Added a description of gsort's new -R option view
7 2007-06-22 18:27:48 3471 to previous wsip-70-169-139-34   view
6 2007-06-20 12:33:42 3347 to previous GreyCat what version of coreutils? view
5 2007-06-20 03:54:42 3241 to previous wsip-70-169-139-34   view
4 2007-05-31 18:00:15 3201 to previous cpe-071-075-255-238 Kudos to valdyn on #debian (irc.freenode.net) for pointing it out. view
3 2007-05-10 14:09:53 3132 to previous GreyCat what is "shuf"? view
2 2007-05-09 19:37:56 2879 to previous port-212-202-38-87 stating the obvious view
1 2007-05-02 23:13:41 2836 redondos   view