random-order
Reads lines from stdin and outputs them in random order. Source only.
Short: Reads lines from stdin and outputs them in random order. Source only.
Author: veijalai@cc.lut.fi
Uploader: veijalai cc lut fi
Type: util/batch
Architecture: generic
Util for randomizing order of lines of text.
Handles unlimited amount of lines. Line length is not limited.
On Linux, for example,
ls *.jpg | random | head -n 3 | awk 'BEGIN {printf "zgv "} {printf $1}' >/tmp/xxx;sh /tmp/xxx
would show 3 random jpegs.
This tiny util should compile on most systems.
On Linux, "gcc -s -O2 -N random.c -o /usr/local/bin/random".
Only source is included (I don't have a C compiler for Amiga).
Gratis
Desde el Amiga: abre Hangar y busca random-order.
| Autor | veijalai@cc.lut.fi |
|---|---|
| Categoría | util/batch |
| Tamaño | 1 KB |
| Para | generic |
| Origen | Aminet |