File: replace_xmms.sh

package info (click to toggle)
keytouch 2.3.2-2.1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 4,480 kB
  • ctags: 1,475
  • sloc: ansic: 9,591; sh: 4,008; makefile: 466; perl: 75
file content (7 lines) | stat: -rwxr-xr-x 261 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
#!/bin/sh

for file in ./keyboards/*
do
 	sed -i "s/<plugin-name>XMMS<\/plugin-name>/<plugin-name>Music player<\/plugin-name>/g; s/<last-change.*\/last-change>/<last-change format=\"%d-%m-%Y\">`date +"%d-%m-%Y"`<\/last-change>/g" "$file";
	echo done: $file
done