Article View: advising
Article #9card reader
From: utzoohenry
Date: Fri, 04 Dec 1981 16:03
Date: Fri, 04 Dec 1981 16:03
11 lines
700 bytes
700 bytes
Actually, you can dispense with the business of hitting rubout to terminate a read, by using the mods Marcus figured out and I installed some months ago. A card with $$EOF in the first five columns and the rest blank will be seen as end-of-file on /dev/cr (use /dev/rcr if you don't want this). This way, you can do everything in one step: dd if=/dev/cr of=foo cbs=80 conv=trim will get you a normal text file from the cards. This won't work for /dev/rcr and the rubout trick, you'll have to use the two-stage method for that.
Technical Details
Message-ID:
<anews.Autzoo.1185>Path:
arc1-ca.pugleaf.net!utzoo!henryShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!henry From: utzoo!henry Newsgroups: advising Subject: card reader Date: Fri, 04 Dec 1981 16:03:32 +0000 Message-ID: <anews.Autzoo.1185>