From: drew Date: 2005-10-28T11:42:05+09:00 Subject: Re: Newbie help: File searching and writing output to new file Thanks very much Daniel and William, I will try Daniel's fix soon. Even though I know this is a trivial thing to do, I was deliberately trying to do it in a script rather than from the command line, as that way I can learn more ruby :-> So William, thank you for your suggestions, I will try to remember them for when I am a master rubyist in years to come - I love the way each post contained a more condensed version of the one-liner, as you thought about it more ... the wonder of Ruby :-> (and the CLI helps a lot too) thanks very much people, drew