DataMuseum.dk

Presents historical artifacts from the history of:

Regnecentalen RC-900

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

See our Wiki for more about Regnecentalen RC-900

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦d2f0c0b37⟧ TextFile

    Length: 698 (0x2ba)
    Types: TextFile
    Notes: UNIX file
    Names: »totalpkg«

Derivation

└─⟦b1d6695d7⟧ Bits:30004155/sitdisk.imd SW95713I 386/ix Software Development System Rel. 2.0
└─⟦b1d6695d7⟧ UNIX Filesystem
    └─⟦this⟧ »sitls/new/usr/subsets/tools/totalpkg« 

TextFile

#
#  Copyrighted as an unpublished work.
#  (c) Copyright 1987 INTERACTIVE Systems Corporation
#  All rights reserved.
#
#  RESTRICTED RIGHTS
#
#  These programs are supplied under a license.  They may be used,
#  disclosed, and/or copied only as permitted under such license
#  agreement.  Any copy must contain the above copyright notice and
#  this restricted rights notice.  Use, copying, and/or disclosure
#  of the programs is strictly prohibited unless otherwise provided
#  in the license agreement.
#

#ident  "@(#)totalpkg.sh	1.1 - 87/08/14"
for pkg
do
	[ -r $pkg/SIZE.1 ] || continue
	size=`cat $pkg/SIZE.*`
	tot=0
	for n in $size
	do
		tot=`expr "$tot" + $n`
	done
	echo $pkg $tot
done