summaryrefslogtreecommitdiff
path: root/del.rc
blob: 6d0580143cd60718df8a221c35ac9dd4b50aaaac (plain)
1
2
3
4
5
6
7
8
#!/usr/local/plan9/bin/rc

sed -e 's/ is a duplicate.$//' | while (file = `{read}) {
	if (test -f $"file) {
		echo rm $"file >> /mnt/mem/log
		rm $"file
	}
}