mirror of
https://github.com/kastdeur/dotfiles.git
synced 2024-12-22 01:03:35 +01:00
12 lines
179 B
Text
12 lines
179 B
Text
|
#!/bin/sh
|
||
|
LIST=""
|
||
|
for arg in $@; do
|
||
|
if [ -f "$arg" ]; then
|
||
|
LIST="$LIST"$'\n'"$(cat "$arg")"
|
||
|
else
|
||
|
LIST="$LIST"$'\n'"$arg"
|
||
|
fi
|
||
|
done;
|
||
|
echo "$LIST" | shuf | marietje
|
||
|
unset LIST
|