summaryrefslogtreecommitdiff
path: root/.local/bin/mkwords
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2023-01-19 19:13:38 -0500
committerJacob McDonnell <jacob@jacobmcdonnell.com>2023-01-19 19:13:38 -0500
commit56919b86e5e8612e3cf432eb5b9a110f4526f0eb (patch)
tree0ff1c4486f29dd6aca43ce365496de2fb4a7ade0 /.local/bin/mkwords
parent6e11f434d71a49a6f3dd42d1471eaf7b46003717 (diff)
added some scripts and redshift
Diffstat (limited to '.local/bin/mkwords')
-rwxr-xr-x.local/bin/mkwords5
1 files changed, 5 insertions, 0 deletions
diff --git a/.local/bin/mkwords b/.local/bin/mkwords
new file mode 100755
index 0000000..91a751d
--- /dev/null
+++ b/.local/bin/mkwords
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+[ -z "$1" ] && words="$(< /dev/stdin)" || words=$1
+echo $words | sed "s/ /\n/g"
+