shithub: mq

ref: 4e663b30ce677bb6ab868d83d5ac34ab094c7e3b
dir: /rc/attach/

View raw version
#!/bin/rc -e
rfork e
flagfmt = ''; args = 'name'
eval `''{aux/getflags $*} || exec aux/usage
if(! ~ $#* 1) exec aux/usage

mq = $1
mq-cat $mq &
exec cat >>$mq/0