shell/+mpd: fix sed command in mpd-recent-played
This commit is contained in:
		
							parent
							
								
									0173319add
								
							
						
					
					
						commit
						53a4ec1580
					
				| 
						 | 
				
			
			@ -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}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue