On Wed, Oct 24, 2007 at 04:35:56PM -0200, Otavio Salvador wrote:
> Maarten ter Huurne <[EMAIL PROTECTED]> writes:
> 
> > It treats any whitespace in the exclusion file as a separator, which means 
> > means it's impossible to exclude a file or directory that contains a space 
> > in its name. I don't think any Debian package uses spaces in file names, so 
> > I guess this is not a problem.
> 
> To work around your problem you can use something like (untested):
> 
> while read line
> do
>         ...
> done < EXCLUDE
> 
> It should work fine.

Read() will chomp leading and trailing whitespace on each line.  To
handle all potential cases of whitespace (you can even have newlines
in filenames!) you'd probably need to use eval(), or #!/bin/bash or
perl.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to