On Tue, Apr 24, 2012 at 04:12:31AM +0200, Andreas Grünbacher wrote:
> Greg,
> 
> Am 23. April 2012 23:12 schrieb Greg KH <[email protected]>:
> > Am I just missing something built in that quilt already provides to get
> > this type of information?
> 
> I don't think so.
> 
> > Or is a command like this useful for anyone else?
> 
> Not sure, but it won't hurt, right?
> 
> > If so, I'll be glad to turn it into a "real" patch,
> 
> Try something like this for proper quoting though, please.
> 
> quot="'\\''"
> for x in QUILTRC QUILT_{DIFF,PATCH,DIFFSTAT}_OPTS \
>          
> QUILT_{PATCHES,SERIES,PATCHES_PREFIX,NO_DIFF_INDEX,NO_DIFF_TIMESTAMPS,PAGER}
> \
>          EDITOR
> do
>         echo "$x='${!x//\'/$quot}'"
> done

Sure, take something simple and make it more complex :)

I'll make up a patch tomorrow and send it off, thanks.

greg k-h

_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to