On Tue, Sep 24, 2013 at 9:32 AM, Brian Fraser <fraserbn@gmail.com> wrote: > Honestly that seems more useful than splitting on whitespace. Windows uses > (and users use) spaces in filenames all the time, and whenever I do any > sort of collab with a non-programmer those inevitably creep in. > Wouldn't be a big issue if you could escape the space, but you can't. Gotta use bsd_glob instead. >perl -E"say for glob 'c:\\program files\\*'" c:\program >perl -E"say for glob 'c:\\program\ files\\*'" >perl -MFile::Glob=bsd_glob -E"say for bsd_glob 'c:\\program files\\*'" | find "Common" c:\program files\Common FilesThread Previous | Thread Next