DataMuseum.dk

Presents historical artifacts from the history of:

RC9000

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

See our Wiki for more about RC9000

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: @ T t

⟦1d57acb3c⟧ TextFile

    Length: 585 (0x249)
    Types: TextFile
    Notes: @(#)twoversions.sh 13.5 (RC International) 91/12/13
    Names: »twoversions«

Derivation

└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦a83e7cf70⟧ »0003« 
        └─⟦this⟧ »./bin/twoversions« 
└─⟦50656ff4a⟧ Bits:30010538 TX 3.1 Coldstart
    └─⟦bbf173f5c⟧ »0004« 
        └─⟦this⟧ »./bin/twoversions« 

TextFile

#!	/bin/sh
#
#	@(#)twoversions.sh	13.5	(RC International)	91/12/13
#
#	Command for execution of common BSD/sysv utility.
#
#	The BSD version is executed if the env. var.
#	'BSD' is set or the command is executed with
#	the first argument being '-B' (for Berkeley)
#	otherwise the system V default is used.
#
BSD_SUFFIX=""
SYSV_SUFFIX="5"
#
UTILITY=`/usr/bin/basename $0`
#
NOTHING=${BSD=NOTSET}

if [ "$1" = "-B" ]; then
	shift;
	exec /bsd/usr/bin/$UTILITY$BSD_SUFFIX "$@"
elif [ "$BSD" != "NOTSET" ]; then
	exec /bsd/usr/bin/$UTILITY$BSD_SUFFIX "$@"
else
	exec $0$SYSV_SUFFIX "$@"
fi