From 53a4ec158031a6aaec60a50659e09488f4561139 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Tue, 5 Sep 2017 19:11:13 +0200 Subject: [PATCH] shell/+mpd: fix sed command in mpd-recent-played --- shell/+mpd/bin/mpd-recent-played | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/+mpd/bin/mpd-recent-played b/shell/+mpd/bin/mpd-recent-played index 282dab10..26ca5794 100755 --- a/shell/+mpd/bin/mpd-recent-played +++ b/shell/+mpd/bin/mpd-recent-played @@ -6,5 +6,5 @@ # mpc clear # mpc add $(mpc-recent-played | cut -f2) -grep played "$HOME/.config/mpd/mpd.log" | sed 's/ : player: played "(.+)"/\t\1/g' | tail -n${1:-20} +grep played "$HOME/.config/mpd/mpd.log" | sed -r 's/ : player: played "(.+)"/\t\1/g' | tail -n${1:-20}