diff options
author | tv <tv@xso> | 2011-09-09 15:42:06 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-09-09 15:42:06 +0200 |
commit | c6d5e62104ed4ab76cc8d90979fa7a64f67c8c47 (patch) | |
tree | 04414aaf7621db382f1d6abd51903e2d092fc2d9 /noise | |
parent | 6a0a39ab43ee2754c8919328aea53b9597621667 (diff) |
//noise/modules/play: use BRE @sed
Diffstat (limited to 'noise')
-rwxr-xr-x | noise/modules/play | 6 |
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 \ \|`"')$: [30m\1[m: + ls $HOME/noise/samples | sed ' + s:\.\('"`echo "$ffs" | tr \ \|`"'\)$: [30m\1[m: s:^:/play : s:.*:[32m&[m: ' @@ -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[m EOF |