summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-09 15:42:06 +0200
committertv <tv@xso>2011-09-09 15:42:06 +0200
commitc6d5e62104ed4ab76cc8d90979fa7a64f67c8c47 (patch)
tree04414aaf7621db382f1d6abd51903e2d092fc2d9
parent6a0a39ab43ee2754c8919328aea53b9597621667 (diff)
//noise/modules/play: use BRE @sed
-rwxr-xr-xnoise/modules/play6
1 files changed, 3 insertions, 3 deletions
diff --git a/noise/modules/play b/noise/modules/play
index 749b450a..180c1e0c 100755
--- a/noise/modules/play
+++ b/noise/modules/play
@@ -7,8 +7,8 @@ case "$1" in
ffs='wav mp3 ogg asf flac'
if test -z "$*" ; then
- ls $HOME/noise/samples | sed -r '
- s:\.('"`echo "$ffs" | tr \ \|`"')$: \1:
+ ls $HOME/noise/samples | sed '
+ s:\.\('"`echo "$ffs" | tr \ \|`"'\)$: \1:
s:^:/play :
s:.*:&:
'
@@ -28,7 +28,7 @@ Keine Audiodatei mit dem Namen
gefunden... am besten gleich uploaden:
- scp NAME shack@shack.shack:noise/samples/
+ scp NAME shack@shack.shack:$HOME/noise/samples/
folgende Dateiendungen werden erkannt: $ffs
EOF