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

⟦d73712613⟧ TextFile

    Length: 361 (0x169)
    Types: TextFile
    Names: »efsputtext«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦3b20aab50⟧ »EurOpenD3/network/snmp/kip-snmp.91.tar.Z« 
        └─⟦b503a39fe⟧ 
            └─⟦this⟧ »kip/etc/efsputtext« 

TextFile

#!/bin/sh
# shell file to copy a text file into the mac directory
# usage:	efsputtext sourcefile destdirectory
tr "\012" "\015" <$1 >$2/$1.DF
cp /dev/null $2/$1.RF
if test -r $2/$1.IF
then
	echo replacing existing data fork
else
	echo -n "TEXTEDIT@@@@@@@@" >$2/$1.IF
	adb -w $2/$1.IF <<EOF >/dev/null
	8?W 0
	0c?W 0
EOF
	echo created new data and info forks
fi