Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!mcsun!cernvax!chx400!bernina!neptune!iiic.ethz.ch!umueller From: umueller@iiic.ethz.ch (Urban Dominik Mueller) Newsgroups: comp.sys.amiga.misc Subject: Re: Looking for a new 'join' command Message-ID: <29305@neptune.inf.ethz.ch> Date: 11 Jun 91 13:34:25 GMT References: <1265@cbmger.UUCP> <29189@neptune.inf.ethz.ch> Sender: news@neptune.inf.ethz.ch Reply-To: umueller@iiic.ethz.ch (Urban Dominik Mueller) Organization: Departement Informatik, ETH, Zurich Lines: 22 In article clemon@lemsys.UUCP (Craig Lemon) writes: >I wrote: >>You can also use CShell (any version), which works under Kick 1.3: >> alias stuff "%a join -r $a map map2; delete map; rename map2 map > > Is this not simply removing the need for a script but still doing >the repetitive operation over and over again? No. It's all done using one signle 'join' command, ie. in one pass. > My problem is partially pattern matching. My main goal however is >to eliminate a lot of little steps and use one large step. This means that >this join command would sort an alphabetical list (or whatever) of the >directory. The command would open the new file dump the contents of a into >it, close a, dump b etc....etc....etc.... without closing the new file >between feeder files. Waste of time. This is quite exactly what CShell's join and, I believe, the other shells' join commands do. Additionally, using assembly for a task like this would speed up the whole thing by 1% or so, so forget it. -Dominik