summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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