bookmark

Bash one liner to randomize lines in file | The Hive Archive


Description

for i in cat unusual.txt; do echo “$RANDOM $i”; done | sort | sed -r ’s/^[0-9]+ //’ > randorder.txt

Preview

Tags

Users

  • @folke

Comments and Reviews