Annotation of 43BSD/contrib/nntp/rrn/loc, revision 1.1.1.1

1.1       root        1: #!/bin/sh
                      2: thing=$1
                      3: shift
                      4: dflt=$1
                      5: shift
                      6: for dir in $*; do
                      7:     case "$thing" in
                      8:     .)
                      9:        if test -d $dir/$thing; then
                     10:            echo $dir
                     11:            exit 0
                     12:        fi
                     13:        ;;
                     14:     *)
                     15:        if test -f $dir/$thing; then
                     16:            echo $dir/$thing
                     17:            exit 0
                     18:        fi
                     19:        ;;
                     20:     esac
                     21: done
                     22: echo $dflt
                     23: exit 1

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.