[darcs-devel] darcs patch: bash completion made more robust regarding shell speci...

David Roundy droundy at abridgegame.org
Tue Dec 28 07:26:43 PST 2004


On Mon, Dec 27, 2004 at 10:02:31PM -0500, Guillaume Outters wrote:
> Mon Dec 27 23:49:39 CET 2004  Guillaume Outters <guillaume.outters at free.fr>
>   * bash completion made more robust regarding shell special chars

> hunk ./darcs_completion 19
> +    local IFS=$'\n'
> hunk ./darcs_completion 21
> -                   grep "^$cur" | sed 's/:/\\:/g') )
> +                   grep "^$cur" | sed 's/[: 	$]/\\&/g') )

I'm afraid I don't understand what this is doing.  Could you please explain
it a bit?
-- 
David Roundy
http://www.darcs.net




More information about the darcs-devel mailing list