Browse files

fix bug in ls command output

  • Loading branch information...
1 parent 141a2d4 commit 24eaa7e1c48356d352cdd49b5eb2bfd74885b196 Aldis Berjoza committed Nov 30, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/playd.sh
View
4 bin/playd.sh
@@ -33,7 +33,7 @@
# 1}}}
# project email: playd@bsdroot.lv
-readonly PLAYD_VERSION='1.18.1'
+readonly PLAYD_VERSION='1.18.2'
readonly PLAYD_NAME="${0##*/}"
readonly PLAYD_FILE_FORMATS='mp3|flac|og[agxmv]|wv|aac|mp[421a]|wav|aif[cf]?|m4[abpr]|ape|mk[av]|avi|mpf|vob|di?vx|mpga?|mov|3gp|wm[av]|midi?'
readonly PLAYD_PLAYLIST_FORMATS='plst?|m3u8?|asx|xspf|ram|qtl|wax|wpl'
@@ -373,7 +373,7 @@ playd_ls() { # {{{1
-e 's#-[0-9]{2}\.# - #' \
-e "s#\.($PLAYD_FILE_FORMATS)\$##" \
-e 's#\| (([0-9][ -]?)?[0-9]{1,2}( - |\. |-|\.| ))?#| #' \
- -e 's#\|\* (([0-9][ -]?)?[0-9]{1,2}( - |\. |-|\.| ))?#|* #' \
+ -e "s#\|\\$POS_MARKER (([0-9][ -]?)?[0-9]{1,2}( - |\. |-|\.| ))?#|$POS_MARKER #" \
-e 's# [ ]*# #g' \
| sed -e 's#^\(.\{'`tput cols`'\}\).*#\1#'
else

0 comments on commit 24eaa7e

Please sign in to comment.