From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.44.254]) by listman.redhat.com (Postfix) with ESMTP id 30FA03FEC2 for ; Fri, 30 Nov 2001 15:22:36 -0500 (EST) Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id fAUKMap20847 for ; Fri, 30 Nov 2001 15:22:36 -0500 Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id fAUKMZV25743 for blinux-list@listman.redhat.com; Fri, 30 Nov 2001 15:22:35 -0500 Received: from server1.shellworld.net (root@server1.shellworld.net [64.39.15.178]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id fAUKMZw25738 for ; Fri, 30 Nov 2001 15:22:35 -0500 Received: from localhost (ldavis@localhost) by server1.shellworld.net (8.11.1/8.11.1) with ESMTP id fAUKMYk69416 for ; Fri, 30 Nov 2001 14:22:34 -0600 (CST) (envelope-from ldavis@shellworld.net) Date: Fri, 30 Nov 2001 15:22:34 -0500 (EST) From: Luke Davis To: blinux-list@redhat.com Subject: Re: joining a bunch of files In-Reply-To: <3.0.6.32.20011130135715.007dbd20@mail.doorpi.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: blinux-list@redhat.com Sender: blinux-list-admin@redhat.com Errors-To: blinux-list-admin@redhat.com X-BeenThere: blinux-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: blinux-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux for blind general discussion List-Unsubscribe: , List-Archive: All kinds of easy solutions come to mind, none of which will necessarily do them in order. This, however, should (I just tested it locally on similarly named files; it works under bash): eval `ls -1 file.a[0-9][0-9] | awk '{print "cat", $1, ">> file;"}' Regards, Luke On Fri, 30 Nov 2001, Brent Harding wrote: > I encrypted a zip archive I had with pgp. Now, I have files with > extensions of a01 to a99 that have to be joined in order from 01 to 99 so I > can decrypt the whole thing. Decrypting only the first doesn't return > everything, so it must be split, used the a option, and rezipped the 99 > files to another archive so I wouldn't have 99 files laying around. How do > I put the files together to make one huge file without having to type all > the echo > file > echo > file > and so on up to 99? > There must be a copy a range, like echo > file, or something > on that order. Using * won't necessarily copy them in numeric order though. > > > > > _______________________________________________ > Blinux-list mailing list > Blinux-list@redhat.com > https://listman.redhat.com/mailman/listinfo/blinux-list >