[CLUE-Tech] removing spaces from filenames?

Jed S. Baer thag at frii.com
Mon Nov 18 10:51:46 MST 2002


On Mon, 18 Nov 2002 10:46:59 -0700
Dave Price <davep at kinaole.org> wrote:

> On Sun, Nov 17, 2002 at 03:04:34PM -0700, Jed S. Baer wrote:
> > 
> > ls | awk '{print "mv " $1, gensub(" "),"_",1,$1)}' | sh

Oops, extra paren inside the argument list.
gensub(" ","_",1,$1)

jed
-- 
We're frogs who are getting boiled in a pot full of single-character
morphemes, and we don't notice. - Larry Wall; Perl6, Apocalypse 5



More information about the clue-tech mailing list