[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Parameter Expansion] bug in ${variable% *}

From: Dashing
Subject: Re: [Parameter Expansion] bug in ${variable% *}
Date: Tue, 12 Feb 2013 15:08:54 +0100

On Tue, 12 Feb 2013 14:45:26 +0100 "Greg Wooledge" 
<wooledg@eeg.ccf.org> wrote:
>There are no literal backslashes in an argument that is
>produced by tab completion.  The backslashes are a form
>of quoting, and they are removed by the calling shell
>during the quote removal phase.

When bind -x sets READLINE_LINE backslashes are kept intact. What I 
meant was that I wrote my own tab completion.

>If you believe you have found a bug in parameter expansion,
>then simplify the example so that it directly demonstrates
>the bug.

As I showed in the output, it does not happen all the time. Even 
the same value of $rest one time works and another time does not. 
Therefore, looping over a bunch of items is required.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]