-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
This was originally reported on the cygwin lists; it is still present in
stock bash 3.2.33.
- -
From: David Rothenberger
Subject: Problem with bash completion
Sometimes bash gets confused and starts adding a slash at the end of
files when I do
Hello,
I am trying to improve the bash_completions for mercurial. For a specific
command (hg add), I want to show only files eligible for addition as
completions. The command "hg status -nu" lists such files, so what I do is
this:
local files="$("$hg" status -n$1 . 2>/dev/null)"
local IFS=$'\
> > > What is the role of xmbsrtowcs? Why doesn't mbsrtowcs convert 0x5c to
> > U<0x5c>?
> >
> >
> > I see. I assume that it's a bug in mbsrtowcs. (If you check, xmbsrtowcs
> > isn't used anywhere, so the question is moot.)
>
> Ok. But I suppose that the role of xdupmbsrtowcs is to avoid the
> > What is the role of xmbsrtowcs? Why doesn't mbsrtowcs convert 0x5c to
> U<0x5c>?
>
>
> I see. I assume that it's a bug in mbsrtowcs. (If you check, xmbsrtowcs
> isn't used anywhere, so the question is moot.)
Ok. But I suppose that the role of xdupmbsrtowcs is to avoid the same
bug, am I r