[buildd-tools-devel] Bug#569671: Bug#569671: copyfiles: add support for comments

Roger Leigh rleigh at codelibre.net
Wed Feb 17 22:33:00 UTC 2010


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20100217/2ea72588/attachment.pgp>


More information about the Buildd-tools-devel mailing list