DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T i

⟦6b73611f9⟧ TextFile

    Length: 963 (0x3c3)
    Types: TextFile
    Names: »inst-lint.sh«

Derivation

└─⟦3d0c2be1b⟧ Bits:30001254 ISODE-5.0 Tape
    └─⟦eba4602b1⟧ »./isode-5.0.tar.Z« 
        └─⟦d3ac74d73⟧ 
            └─⟦this⟧ »isode-5.0/util/inst-lint.sh« 

TextFile

: run this script through /bin/sh

M=BSD42	O= L=/usr/lib/lint

for A in $*
do
    case $A in
	-bsd42)
		M=BSD42
		;;

	-sys5)	M=SYS5
		exit 0
		if test ! -f ${L}/lint1; then
		    L=/usr/lib
		    if test ! -f ${L}/lint1; then
			echo "inst-lint: unable to find lint1" 1>&2
			exit 0
		    fi
		fi
		;;

	-ros)	M=ROS
		;;

	-*)	O="$O $A"
		;;

	*)	case $M in
		    BSD42)   echo /lib/cpp -C -Dlint $O $A \| \
				/usr/lib/lint/lint1 -v \> $A.ln
			    /lib/cpp -C -Dlint $O $A | \
				/usr/lib/lint/lint1 -v > $A.ln
			    ;;

		    SYS5)   echo /bin/cc -E -C -Dlint $O $A \| \
				${L}/lint1 -v \> $A.ln
			    /bin/cc -E -C -Dlint $O $A | \
				${L}/lint1 -v > $A.ln
			    ;;

		    ROS)    echo lint -c -v $O $A
			    lint -c -v $O $A
			    F="`basename $A`"
			    if [ $F != $A ]; then
				echo mv $F.ln $A.ln
				mv $F.ln $A.ln
			    fi
			    ;;

		    *)	    echo "inst-lint: mode botch" 1>&2
			    exit 1
			    ;;
		esac
		;;
    esac
done

exit 0