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 7D5B23EA98 for ; Fri, 7 Dec 2001 02:45:52 -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 fB77jqp20868 for ; Fri, 7 Dec 2001 02:45:52 -0500 Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id fB77jqS29986 for blinux-list@listman.redhat.com; Fri, 7 Dec 2001 02:45:52 -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 fB77jpw29981 for ; Fri, 7 Dec 2001 02:45:51 -0500 Received: from localhost (jdashiel@localhost) by server1.shellworld.net (8.11.1/8.11.1) with ESMTP id fB77jpQ85759 for ; Fri, 7 Dec 2001 01:45:51 -0600 (CST) (envelope-from jdashiel@shellworld.net) Date: Fri, 7 Dec 2001 01:45:51 -0600 (CST) From: Jude DaShiell To: blinux-list@redhat.com Subject: Re: joining a bunch of files In-Reply-To: <3.0.6.32.20011130152649.0087da70@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: 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