[geeks] Suggestions on a postcard...

David Cantrell david at cantrell.org.uk
Fri May 3 14:47:39 CDT 2002


On Thu, May 02, 2002 at 07:06:21PM +0100, Will Mc Donald wrote:
> Potential newbie stuff alert... I need some help here guys. I have a bundle of
> files with names including loads of characters reserved for the shell...
> 
> Now I'm trying to cat these files into one big mbox file...
> 
> My first thought was to just list all the filenames out to another file then
> use sed to single quote each line (preventing shell expansion?) then read the
> lines back in from that.

God no!  What's wrong with doing this?

cat * > mboxfile

-- 
David Cantrell | Member of the Brute Squad | http://www.cantrell.org.uk/david

  emacs: for a brave GNU Word
             -- cdevers, in #london.pm



More information about the geeks mailing list