dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles # fast
git clone https://src.adamsgaard.dk/dotfiles.git # slow
Log | Files | Refs | README | LICENSE Back to index

mpc-newest.sh (138B)


      1 #!/bin/sh
      2 [ $# -gt 0 ] && n="$1" || n=20
      3 
      4 grep 'added' /var/log/mpd/mpd.log | sed 's/.*added //;s/\// - /;s/\/.*//' | uniq | tail -n "$n"