Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!news.cs.indiana.edu!maytag!xenitec!lemsys!clemon From: clemon@lemsys.UUCP (Craig Lemon) Newsgroups: comp.sys.amiga.misc Subject: Re: Looking for a new 'join' command Message-ID: Date: 6 Jun 91 22:24:11 GMT References: <1265@cbmger.UUCP> <29189@neptune.inf.ethz.ch> Organization: Not an Organization Lines: 40 In article <29189@neptune.inf.ethz.ch> umueller@iiic.ethz.ch (Urban Dominik Mueller) writes: >>Didn't try, but perhaps the 2.0 version of join does already that. > >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 >The call would then be: > stuff * >This will add all articles at once, in alphabetical order. If you >want them in newest-at-the-top order, use: > stuff $(dir -nt) >Which can be made an additional alias. Again, the job will be made >in one rush, ie. fast. Is this not simply removing the need for a script but still doing the repetitive operation over and over again? > >If this is too esoteric for you, use the ARP join command, it allows >patterns the way you need them. > > -Dominik 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. Hopefully this would be in assembler or something and written to handle medium-sized files with ease (50K) from a buffering and speed point of view. I know a lot of you say "write one yourself". I am quite computer literate and I am a programmer-type person but I haven't had the time to learn Amiga C well enough to do anything useful yet. -- Craig Lemon - Kitchener, Ontario. Amiga B2000 UUCPv1.13D. clemon@lemsys.UUCP lemsys!clemon@xenitec.on.ca | Please Mail any binaries xenitec!lemsys!clemon@watmath.uwaterloo.edu | to 'files' at this site ..!uunet!watmath!xenitec!lemsys!clemon | instead of 'clemon'