On Sat, Feb 13, 2010 at 12:02:38PM +0100, Sascha Silbe wrote:
> The attached patch adds support for whole-line comments (starting with "#") 
> and empty lines to setup.d/20copyfiles.
>           while read file; do
> +             if echo "$file" | egrep -q '^(#|$)' ; then
> +                 continue
> +             fi

Thanks, this looks very useful, and will also be good in the
nssdatabases script.  One question: what's the '|$' for in
the regex?  Isn't '^#' sufficient?


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature

Reply via email to