Simple utility to turn swipes into words -- "plugin" for wvkbd to enable swipe-typing under wayland SXMO.
Diffstat (limited to 'makeDir.sh')
-rwxr-xr-xmakeDir.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/makeDir.sh b/makeDir.sh
new file mode 100755
index 0000000..aa9f782
--- /dev/null
+++ b/makeDir.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+dir="$1"
+rm $dir/*
+source functions.sh
+while read -r line; do
+ fl=$(firstLetter "$line")
+ ll=$(lastLetter "$line")
+ echo "$line" >> "$dir/$fl$ll"
+done