summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-08-25 13:50:44 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-08-25 13:50:44 +0000
commit653d7b44bffda5134213c20438ccd24718f956ab (patch)
tree11a904e2ba00d9bc59dcb8f6ddd2978870c0ad10
parent992db36a091a2ebe16b75858564f06f7881c0083 (diff)
fixed a cli parsing error and added more people to smushHEADmaster
-rwxr-xr-xmush4
-rwxr-xr-xsmush3
2 files changed, 4 insertions, 3 deletions
diff --git a/mush b/mush
index 452c918..119fb7a 100755
--- a/mush
+++ b/mush
@@ -50,8 +50,8 @@ parse() {
;;
esac
done
- SONGS_ESC=$(printf '%s' "$SONGS" | sed 's/[\/&\\]/\\&/g')
- SONGS_ESC=$(printf '%s' "$SONGS_ESC" | sed 's/`/\\`/g')
+ SONGS_ESC=$(printf '%s' "$SONGS" | sed 's/[\/&\\]/\\&\n/g')
+ SONGS_ESC=$(printf '%s' "$SONGS_ESC" | sed 's/`/\\`\n/g')
SONGS="\"$(printf '%s' "$SONGS_ESC" | sed ":a;N;\$!ba; s/\n/\" \"$MSD_ESC\//g")\""
eval "set -- $SONGS"
play "$@"
diff --git a/smush b/smush
index b374396..4b4c84d 100755
--- a/smush
+++ b/smush
@@ -1,4 +1,5 @@
#!/usr/bin/env sh
rm ~/songs.txt
-/home/dacc/dv/sh/mush/mush nzuum retrobit --shuffle --loop > ~/songs.txt
+/home/dacc/dv/sh/mush/mush nzuum retrobit dacctal tvna macro \
+--shuffle --loop > ~/songs.txt
rm ~/songs.txt