From owner-freebsd-questions Tue Dec 10 14:30:21 2002 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 E6E0037B401 for ; Tue, 10 Dec 2002 14:30:19 -0800 (PST) Received: from conure.mail.pas.earthlink.net (conure.mail.pas.earthlink.net [207.217.120.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28E5D43E4A for ; Tue, 10 Dec 2002 14:30:14 -0800 (PST) (envelope-from parv_fm@mailsent.net) Received: from sdn-ap-032dcwashp0042.dialsprint.net ([65.179.72.42] helo=moo.holy.cow) by conure.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 18LstC-0006fj-00; Tue, 10 Dec 2002 14:30:06 -0800 Received: by moo.holy.cow (Postfix, from userid 1001) id 07AF1B8B7; Tue, 10 Dec 2002 17:32:56 -0500 (EST) Date: Tue, 10 Dec 2002 17:32:56 -0500 From: parv To: Dan Malaby Cc: questions@freebsd.org Subject: Re: OT: shell questions Message-ID: <20021210223256.GA28050@moo.holy.cow> Mail-Followup-To: Dan Malaby , questions@freebsd.org References: <5.1.0.14.2.20021210084343.00aa3228@pop3.peritek.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5.1.0.14.2.20021210084343.00aa3228@pop3.peritek.com> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG in message <5.1.0.14.2.20021210084343.00aa3228@pop3.peritek.com>, wrote Dan Malaby thusly... > ... > I get a lot of files with unkosher names ie. spaces in the > name. So what I tried doing was to write a shell script using sh > that located these files and changed the space to a underbar. ... > So I wrote a shell script using awk and sed to make a file with > the offending names with quotes around them... me too... http://www103.pair.com/parv/comp/unix/bin/sanename http://www103.pair.com/parv/comp/unix/bin/sanename.perl http://www103.pair.com/parv/comp/unix/doc/doc.bin/sanename.perl.xhtmls - parv -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message