Hi,
yes, it should be doable with David Lewis’s OSProcess package.
_,,,^..^,,,_ (phone)
On Jul 10, 2023, at 12:03 PM, gettimothy via Squeak-dev squeak-dev@lists.squeakfoundation.org wrote:
Hi Folks.
I have a 21Gb bzip file I would rather not decompress as disk space is at a semi-premium.
the bzcat command allows me to "extract" the contents to stoud
bzcat humungousfile.bz2 | less
gives me the output I want to process
For running XMLSax on a file, I have some existing code to use... |ios| ios := (FileStream readOnlyFileNamed:('/your/path/to/the/big/xml/file.xml')). [(DocDemoSaxHandler on: ios) pingevery:100000; optimizeForLargeDocuments;parseDocument] timeProfile .
What I would like to do is have, from within Squeak access to that bzcat output via some sort of ReadStream.
Doable?
thx in advance.
tty