This repository has been archived on 2022-03-04. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/scripts/.local/bin/ouli

14 lines
375 B
Bash
Executable File
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
# damn that fifth glyph!
# shows if you put that glyph badly.
IFS=
echo "$@"
checks=$(echo "$@" | sed 's/[Ee𝚎𝖾Є𝕖⋳ᗴəᵉꗋ𝔼𝙴Ε𝘌Ɛ𝖤ƸꜪℇĘɛεЕꜫȨéèëêēẽÉÈÊËĒĔẼĖėĘęĚěЕе]/\^/g;s/[^\^]/ /g')
if [ -z $(echo $checks | sed -e 's/ //g') ]
then
echo "good"
else
echo $checks
echo "bad"
fi