Date: Thu, 27 Sep 2001 00:49:11 -0400 From: parv <parv_@yahoo.com> To: "David S. Jackson" <dsj@sylvester.dsj.net> Cc: freebsd-questions@freebsd.org, ale@ale.org, kplug-list@kernel-panic.org Subject: Re: regex w/ sed and bash expression Message-ID: <20010927004911.A26255@moo.holy.cow> In-Reply-To: <20010927002134.A30622@sylvester.dsj.net>; from dsj@sylvester.dsj.net on Thu, Sep 27, 2001 at 12:21:34AM -0400 References: <20010927002134.A30622@sylvester.dsj.net>
next in thread | previous in thread | raw e-mail | index | archive | help
this was, on the fateful occasion around Sep 27 00:21 -0400, sent by David S. Jackson > > Hi, > > I'm trying to make a variable expand to include a list of > filenames with braces and parens as part of the filename. (The > files are mp3s with brackets and parens, etc, in the filenames > themselves.) I just want the resulting expansion to insert an > escape character infront of spaces and special characters so the > shell can find them. > > Example: don mclean - american pie (uncut version).mp3 > and [John Wayne]-[Pledge_of_Allegiance].mp3 ... would you care for a perl program which changes file names to character set of [a-zA-z_-.], optionally use only lower case ascii characters? or at least, it could you give some idea ... albeit in perl. -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010927004911.A26255>