2024-05-06
This is a shell function that works like echo, except it echoes all the arguments in random order. In bash it can be declared as follows:
recho(){ echo "${@}" | sed -e 's; ;\n;g' | sort -R | xargs echo ; }
This is useful when you want to use echo, except print all the arguments in random order...
-- CC0 Björn Wärmedal