From owner-freebsd-questions@FreeBSD.ORG Sun Jan 23 16:30:58 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3636416A4CE for ; Sun, 23 Jan 2005 16:30:58 +0000 (GMT) Received: from ylpvm29.prodigy.net (ylpvm29-ext.prodigy.net [207.115.57.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id B8E2443D1F for ; Sun, 23 Jan 2005 16:30:57 +0000 (GMT) (envelope-from antennex@swbell.net) Received: from SAGEAME (adsl-65-68-247-73.dsl.crchtx.swbell.net [65.68.247.73])j0NGUlh2006531 for ; Sun, 23 Jan 2005 11:30:47 -0500 Message-ID: <03d601c50168$ea660bf0$0200000a@SAGEAME> From: "antenneX" To: Date: Sun, 23 Jan 2005 10:30:56 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Subject: Help on a little script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: antenneX List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2005 16:30:58 -0000 Am running FBSD-4.10p2 I have a serious need for some help on a CGI script I just installed. I've tried to reach the author but no dice there. It's used to automate "unsubscribes" on a mail list. It works well except for this: It changes my mail list from this format: name1 name2 name3 ...to this: name1name2name3 <---one big long line with no separators. With over 6000 names it makes a huge long line instead with no space between the names either. It make a mess! I know how to convert name1 name2 name3 ...to name1 name2 name3..... like this: #cat mybadlist | xargs > mygoodlist ...but, need the reverse. So how can I convert name1name2name3 ...back to the original format? name1 name2 name3 Would really appreciate your help as it is really messing up my mail lists.... Thanks in advance! Best regards, Jack L. Stone