#!/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 } }