diff options
author | Peter Palfrader <peter@palfrader.org> | 2023-01-09 07:01:21 +0100 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2023-01-09 07:01:21 +0100 |
commit | ed143f5bd9b3b26c13601d6d0a1a1b588ac9f8fc (patch) | |
tree | bf916a230a4aa8f673684e66a82e61befa5532fc /dicewords | |
parent | ee41dfe23f689965c8a15868a38c5fe6c92da091 (diff) |
Diffstat (limited to 'dicewords')
-rwxr-xr-x | dicewords | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,5 +36,5 @@ if ! [ -e "$dictionary" ]; then exit 1 fi -egrep '^[a-z]{1,6}$' "$dictionary" | shuf | head -n "$count" | tr '\n' '-' | sed -e 's/-$//' +egrep '^[a-z]{1,6}$' "$dictionary" | shuf | head -n "$count" | tr '\n' '.' | sed -e 's/\.$//' echo |