Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
31
cde/util/scripts/checkSysV.sh
Executable file
31
cde/util/scripts/checkSysV.sh
Executable file
@@ -0,0 +1,31 @@
|
||||
#!/bin/sh
|
||||
# $XConsortium: checkSysV.sh /main/2 1995/07/19 18:05:22 drk $
|
||||
|
||||
case "$1" in
|
||||
"") echo "Usage: $0 directory"; exit 1;;
|
||||
esac
|
||||
|
||||
echo "Analyzing $1 for Incompatabilities with System V"
|
||||
|
||||
echo 'File names longer than 12 characters (excluding the doc directory):'
|
||||
cd $1
|
||||
|
||||
dirlist=
|
||||
for dir in `echo *`
|
||||
do
|
||||
case "$dir" in
|
||||
doc) ;;
|
||||
*) dirlist="$dirlist $dir";;
|
||||
esac
|
||||
done
|
||||
|
||||
(
|
||||
find doc -name '???????????????*' -print
|
||||
find $dirlist -name '?????????????*' -print
|
||||
) | sort \
|
||||
| sed -e '/,v/d' \
|
||||
-e 's/^/ /'
|
||||
|
||||
echo 'Symbolic links:'
|
||||
find . -type l -print | sed -e 's/^/ /'
|
||||
|
||||
Reference in New Issue
Block a user