add ouli script. it is not ouli-good.

This commit is contained in:
Nico 2021-01-26 16:33:04 +00:00
parent ae9cf658e4
commit 9249f6b111
1 changed files with 13 additions and 0 deletions

13
scripts/.local/bin/ouli Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# damn that fifth glyph!
# shows if you put that glyph badly.
IFS=
echo "$@"
checks=$(echo "$@" | sed 's/[eE]/\^/g;s/[^\^]/ /g')
echo $checks
if [ -z $(echo $checks | sed -e 's/ //g') ]
then
echo "good"
else
echo "bad"
fi