Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!ukc!slxsys!bae-st!adam From: adam@ste.dyn.bae.co.uk (Adam Curtin) Newsgroups: comp.lang.apl Subject: Re: Dyalog question Message-ID: <1990Sep12.094140.107@ste.dyn.bae.co.uk> Date: 12 Sep 90 09:41:40 GMT References: <7273@umd5.umd.edu> Reply-To: adam@ste.dyn.bae.co.uk (Adam Curtin) Organization: British Aerospace (Dynamics), Stevenage Lines: 36 In article <7273@umd5.umd.edu> jph@suns.UMD.EDU (J. Patrick Harrington) writes: >Thanks for the replies - I'm glad to see there are a few Dyalog >users on the net, and that I was not overlooking something much >simpler. I'm glad, too - I worked for Dyadic until January, and unixfiles and xutils are about 90% my code (the rest being due to Martin Tann). Your problem may have a different solution with Dyalog APL version 6, which replaces unixfiles with nfiles (all mine!), which has very sophisticated input and output translation - using the apltrans and aplkeys tables. It's easy to define a pair of translation tables which will do the translations from ASCII numeric text to APL numeric text for input, and the reverse translation on output. Then all you need to do is ravel, execute and reshape! In the absence of nfiles, and not wanting to put you off using my program (!), don't neglect monadic []SH. The right argument can be any shell command line, whose output is captured (if the result is assigned) to a vector of vectors, one element per line of output. This opens up the use of tr, sed, awk, pipelines of uniq, sort, pr, ... the sky's the limit. Adam PS As a thinly-disguised sales pitch, Dyalog APL version 6 also has 'jade' (just another development environment) with windowy editing, execution trace and variable watching (jade due to yours truly and John Scholes). Version 6 is the first version of Dyalog APL to be available for DOS (on 386 or better). PPS Dyadic are now at Riverside View, Basing Road, Old Basing, Basingstoke, Hampshire RG24 0AL, UK. Tel: +44 256 811125; Fax: +44 256 811130. -- A. D. Curtin . Tel : +44 438 753430 British Aerospace (Dynamics) Ltd. . Email: adam@ste.dyn.bae.co.uk PB 230, PO Box 19, Six Hills Way, . Stevenage, SG1 2DA, UK. . "My other car is an FJ1200"