1 2 3 4 5 6 7 8 9 10 11
#!/usr/bin/env rc fn read { $HOME/9/plan9port-master/bin/read } while (file = `{read}) { if (test -f $"file) { echo rm $"file >> log rm $"file } }