Added some scripts and figlet

This commit is contained in:
2021-12-27 15:55:23 -05:00
parent 083920aa09
commit 2e012d8930
5 changed files with 26 additions and 0 deletions

8
scripts/.local/scripts/allfigl Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
for font in /opt/homebrew/share/figlet/fonts/*.flf; do
clear
echo "FONT: $font"
figlet -f "${font}" hello
read line
done

8
scripts/.local/scripts/cmt Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# adapted from...
# https://github.com/rwxrob/dot/blob/main/scripts/cmt
while IFS= read -r line; do
echo "${1:-#} $line"
done

8
scripts/.local/scripts/uncmt Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
# adapted from...
# https://github.com/rwxrob/dot/blob/main/scripts/ucmt
while IFS= read -r line; do
echo "${line#* }"
done