🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #27925

Gulam question...

#27925
From: lansd
Date: Wed, 12 Aug 1987 03:55
18 lines
1262 bytes
     Is it possible to append to another file via redirection in Gulam?
The manual doesn't mention this anywhere and I thought it may be less than
obvious about how to go about doing it. I would just like to  do a simple
'czprint filename >> datafile' (Czprint dumps data to the standard output).

     Anyway, I found an indirect way of doing this, but it has one side
effect. First, my shell file looks like this....

foreach i { *.cz }
	czprint $i 
endfor

     This script is executed via the command line 'catalog.g > datafile'.
Althought the script works to completion, the datafile doesn't have an
end-of-file terminator in it. When I edit the file or print it out (ie, 
with LESS), the editor crashes when it gets to the end of the file!

     Is this a bug with Gulam????
Technical Details
Message-ID: <1987Aug11.235539.22574@gpu.utcs.toronto.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!lansd

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!utgpu!lansd
From: lansd@utgpu.UUCP
Newsgroups: comp.sys.atari.st
Subject: Gulam question...
Message-ID: <1987Aug11.235539.22574@gpu.utcs.toronto.edu>
Date: Tue, 11-Aug-87 23:55:39 EDT
Article-I.D.: gpu.1987Aug11.235539.22574
Posted: Tue Aug 11 23:55:39 1987
Date-Received: Thu, 13-Aug-87 05:24:27 EDT
Organization: University of Toronto Computing Services
Lines: 18
Checksum: 00627