[svlug] bash scripts - config files with comments?
robert.citek at gmail.com
Sat Aug 18 06:18:42 PDT 2007
On 08/18/2007 02:14 AM, Florin Andrei wrote:
> Robert Citek wrote:
>> Avoiding sed:
>> while read LINE; do
>> [ -z "$LINE" ] && continue
>> : do what you want here
>> done < config-file
> Looks like it's exactly what I was looking for. Thanks!
> Now let me test it a little bit...
Hope it works for you. Please let us know how it goes.
More information about the svlug