ref: af23bb343a067d5346696b788f4cce5b744cd51d dir: /sys/doc/mkfilelist/
#!/bin/rc for(i in $*) if(! ~ $i */*) echo $i