Annotation of researchv9/X11/src/X.V11R1/util/checkSysV.sh, revision 1.1.1.1

1.1       root        1: #!/bin/sh
                      2: 
                      3: case "$1" in
                      4: "")    echo "Usage: $0 directory"; exit 1;;
                      5: esac
                      6: 
                      7: echo "Analyzing $1 for Incompatabilities with System V"
                      8: 
                      9: echo 'File names longer than 12 characters (excluding the doc directory):'
                     10: cd $1
                     11: 
                     12: dirlist=
                     13: for dir in `echo *`
                     14: do
                     15:        case "$dir" in
                     16:        doc)    ;;
                     17:        *)      dirlist="$dirlist $dir";;
                     18:        esac
                     19: done
                     20: 
                     21: (
                     22:        find doc      -name '???????????????*' -print
                     23:        find $dirlist -name '?????????????*' -print
                     24: ) | sort \
                     25:   | sed -e '/,v/d' \
                     26:                -e 's/^/        /'
                     27: 
                     28: echo 'Symbolic links:'
                     29: find . -type l -print | sed -e 's/^/   /'
                     30: 

unix.superglobalmegacorp.com

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