summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2023-01-09 07:01:21 +0100
committerPeter Palfrader <peter@palfrader.org>2023-01-09 07:01:21 +0100
commited143f5bd9b3b26c13601d6d0a1a1b588ac9f8fc (patch)
treebf916a230a4aa8f673684e66a82e61befa5532fc
parentee41dfe23f689965c8a15868a38c5fe6c92da091 (diff)
Other separator for dicewordsHEADmaster
-rwxr-xr-xdicewords2
1 files changed, 1 insertions, 1 deletions
diff --git a/dicewords b/dicewords
index 49d9230..5bb4ddc 100755
--- a/dicewords
+++ b/dicewords
@@ -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