[augeas-devel] [PATCH] An alias can also be a command containing spaces. + Add doc. There's an edge case when the command contains a comma (which is valid if surrounded in quotes) but it can be confusing for regexps.

David Lutterkort lutter at redhat.com
Mon Jul 18 18:37:21 UTC 2011


On Thu, 2010-11-04 at 15:46 +0100, Mathieu Arnold wrote:
> +--On 3 novembre 2010 18:10:48 +0100 Mathieu Arnold <mat at mat.cc> wrote:
> | +   let command = /\|"[^,"\n]+"/
> |     let comma = del /,[ \t]*(\n[ \t]+)?/ ", "
> | +   let destination = ( word | command )
> | +   let value_list = Build.opt_list ([ label "value" . store
> |                  destination]) comma
> 
> Ok, I finally got to the point where you can put a comma in a command,
> attached is a patch including that fix.

This completely fell through the cracks - I finally applied the patch nd
pushed it.

David





More information about the augeas-devel mailing list