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 s

⟦9ff7602c0⟧ TextFile

    Length: 542 (0x21e)
    Types: TextFile
    Notes: @(#)servers 13.3   (RC International)   91/10/31 
    Names: »servers«

Derivation

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

TextFile

:
#   @(#)servers	13.3   (RC International)   91/10/31 
echo "FTS-machines connected to RcLAN now"
for lan in lana lanb lanc land
do
    /etc/getnames | fgrep FTS | fgrep $lan > /tmp/.ftshosts$$_$lan
    ed - /tmp/.ftshosts$$_$lan > /dev/null <<\!
g/^/s/^[ 	]*\(.*FTS\).*$/\1/
g/^/s/FTS$//
w
!
    if [ -s /tmp/.ftshosts$$_$lan ]
    then
        echo $lan:
	prline=6
        cols=`expr \`wc -l < /tmp/.ftshosts$$_$lan\` / $prline + 1`
        sort /tmp/.ftshosts$$_$lan | pr  -$prline -l$cols -o4 -t
    fi
    rm /tmp/.ftshosts$$_$lan
done