here's a different approach.

        #!/bin/rc

        cd /$objtype/bin
        for(i in `{find})
        #       if(! ~ $i */ape/*)              # obviously
                if(test -f $i)
                if(! ~ `{file $i | sed 's/ /_/g'} *:_rc_executable_file)
                if(! grep -s ARGBEGIN `{src -n $i|sed -n 's/([^:]+):.*/\1/p'} 
/dev/null)
                        echo $i

many of these programs have no reason to parse
(any) traditional arguments, and some have earned their
wierdness by tradition, but programs like aux/clog
should be cleaned up.  iirc, acid also has some argument
processing quirks.

- erik

Reply via email to