Commit b7551fa
xxwhirlpool
·
2026-09-28 17:45:01 -0400 EDT
parent ab43df5
add catfunc to bashrc
1 files changed,
+6,
-0
+6,
-0
1@@ -278,6 +278,12 @@ bitrate() {
2 echo "$(file "$1" | sed 's/.*, \(.*\)kbps.*/\1/' | tr -d " " )" kbps
3 }
4
5+# this wouldn't work in a script
6+# so it's here
7+catfunc() {
8+ declare -f "$1" || echo "$1 does not exist"
9+}
10+
11 ######################################
12 # misc
13 ######################################