Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


On Tue, Jan 04, 2011 at 04:07:57AM -0700, Tor Lillqvist wrote:

I admit that having to have the redirection of input to the while loop at the end, after the 
"done", does make it harder to read, especially if the loop is long. In this case the loop is not 
long, but still... so yeah, using "cat" here to pipe the file into the while loop is clearer, 
even if it introduces an extra process and pipe.

Thanks for clarification, I regarded it as a typo :) Since it is just one time
script to get a specific task, I didn't think to much of resource
usage... ...so in my update script it still sticks to cat pipe, hope it would
not so suck, hehe...

Would you also like to comment my updated method sent yesterday? Thanks!

Best regards,
Yifan

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.