#!/bin/rc i = `{cat} repl = `{awk '/.*-os.*/ {print $1}' /mnt/acme/index} echo $i > /mnt/acme/$repl/body