plan9front/rc/bin/inst/hdrs

8 lines
106 B
Bash
Executable File

#!/bin/rc
if(! ~ $#* 1) {
echo 'usage: hdrs file.9gz' >[1=2]
exit usage
}
gunzip < $1 | disk/mkext -h