#!/bin/rc rfork e argv0=$0 fn usage{ echo usage: $argv0 winid exit usage } if(! ~ $#* 1) usage exec cat /mnt/wsys/wsys/$1/window