Plan 9 from Bell Labs’s /n/sources/contrib/rog/sh-examples/wmtst3.sh
fn makemenu { title=$* <>[7] /chan/wmmenu { echo -n $title >[1=7] getlines <[0=7] { echo event $line } & getlines { echo -n $line >[1=7] } kill $apid } }
(This is a user-contributed directory and should not be interpreted as statement by Alcatel-Lucent.)