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 } }