File:  [CSRG BSD Unix] / 41BSD / cmd / lint / SHELL
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:53 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD41
BSD 4.1

L=/usr/lib/lint/lint T=/usr/tmp/lint.$$ PATH=/bin:/usr/bin O="-C -Dlint"
X= P=unix LL=/usr/lib/lint
trap "rm -f $T; exit" 1 2 15
for A in $*
do
	case $A in
	-*n*)	P= ;;
	-*p*)	P=port ;;
	esac
	case $A in
	*.ln)	cat $A >>$T ;;
	-l*)	cat $LL/llib$A.ln >>$T ;;
	-[IDOU]*)	O="$O $A" ;;
	-X)	LL=/usr/scj/lint L=/usr/scj/lint/lpass ;;
	-*)	X="$X$A" ;;
	*)	(/lib/cpp $O $A | ${L}1 $X >>$T)2>&1
	esac
	done
case $P in
	unix)	cat $LL/llib-lc.ln >>$T ;;
	port)	cat $LL/llib-port.ln >>$T ;;
	esac
${L}2 $T $X
rm -f $T

unix.superglobalmegacorp.com

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