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 63C283EA0E for ; Fri, 7 Dec 2001 14:03:35 -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 fB7J3Xp11782 for ; Fri, 7 Dec 2001 14:03:33 -0500 Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id fB7J3W410951 for blinux-list@listman.redhat.com; Fri, 7 Dec 2001 14:03:32 -0500 Received: from mail2.netacc.net (mail2.netacc.net [208.34.108.27]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id fB7J3Ww10947 for ; Fri, 7 Dec 2001 14:03:32 -0500 Received: from bharding (algoma-host6.doorpi.net [12.37.10.11]) by mail2.netacc.net (8.10.2/8.10.2) with SMTP id fB7J3Uv19613 for ; Fri, 7 Dec 2001 14:03:31 -0500 (EST) Message-Id: <3.0.6.32.20011207130721.008d3a70@mail.doorpi.net> X-Sender: bharding@mail.doorpi.net X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Fri, 07 Dec 2001 13:07:21 -0600 To: blinux-list@redhat.com From: Brent Harding Subject: Re: joining a bunch of files In-Reply-To: References: 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: Wouldn't for do it some how? The little I knew about hyperlogo, one would think of something like for numbers=1-99 cat file.a$numbers > file At 02:50 AM 12/7/01 -0500, you wrote: >That's exactly what the awk command I posted (using eval), and the xargs >commands posted by others, do; without the extra steps. > >On Fri, 7 Dec 2001, Jude DaShiell wrote: > >> Your safest way is going to be with a little shell script. If you have >> the vis command it's probably better than cat -v. I don't know if these >> files are parts of a binary or text file. The general script would look >> something like this. The redirection I do is for a good reason. cat -v a1 >> a2 a3 a4 a5 a6 a7 a8 a9 >>afile. The first line of the script would be >> #!/bin/sh. That longer line I wrote earlier would be duplicated as many >> times as necessary and you'd change the numbers each line down the script. >> so that the last line in the script would be cat a91 a92 a93 a94 a95 a96 >> a97 a98 a99 >>afile. If you use a command like .,.s/a[1-9]/a1[1-9]/gp >> That should change line 3 in the script from cat a1 a2 a3 a4 to cat >> a11 a12 a13 a14 etc. >> >> Jude >> >> >> >> >> _______________________________________________ >> Blinux-list mailing list >> Blinux-list@redhat.com >> https://listman.redhat.com/mailman/listinfo/blinux-list >> > > > >_______________________________________________ >Blinux-list mailing list >Blinux-list@redhat.com >https://listman.redhat.com/mailman/listinfo/blinux-list > >