Commit b7551fa

xxwhirlpool  ·  2026-09-28 17:45:01 -0400 EDT
parent ab43df5
add catfunc to bashrc
1 files changed,  +6, -0
+6, -0
......@@ -278,6 +278,12 @@ bitrate() {
278278 echo "$(file "$1" | sed 's/.*, \(.*\)kbps.*/\1/' | tr -d " " )" kbps
279279 }
280280
281+# this wouldn't work in a script
282+# so it's here
283+catfunc() {
284+ declare -f "$1" || echo "$1 does not exist"
285+}
286+
281287 ######################################
282288 # misc
283289 ######################################