Re: How to get filename completion without variable expansion?

2011-11-17 Thread Chet Ramey
On 11/17/11 5:36 PM, Gerard Seibert wrote: > On Thu, 17 Nov 2011 11:22:27 -0500 > Chet Ramey articulated: > >> A version of that patch will appear in bash-4.3. > > Just out of morbid curiosity, do you have an estimated date for > possible release of that new version? I don't. I haven't really s

Re: How to match regex in bash? (any character)

2011-11-17 Thread Linda Walsh
Chet Ramey wrote: On 9/27/11 6:41 PM, Roger wrote: Correct. After reading the entire Bash Manual page, I didn't see much mention of documentation resources (of ERE) besides maybe something about egrep from Bash's Manual Page or elsewhere on the web. After extensive research for regex/regex

Re: How to get filename completion without variable expansion?

2011-11-17 Thread Gerard Seibert
On Thu, 17 Nov 2011 11:22:27 -0500 Chet Ramey articulated: > A version of that patch will appear in bash-4.3. Just out of morbid curiosity, do you have an estimated date for possible release of that new version? -- Gerard ✌ ger...@seibercom.net Disclaimer: off-list followups get on-list replie

exit status issue

2011-11-17 Thread Dallas Clement
Hello, I've got a script that is periodically performing a disk / raid array integrity check by touching a file. The touch is failing occasionally, with an exit status of 1. If I do 'strace touch' instead of just 'touch' the strace indicates an exit status of 0. So I'm not sure why this is gett

Re: How to get filename completion without variable expansion?

2011-11-17 Thread Chet Ramey
On 11/17/11 1:16 PM, Pierre Gaston wrote: >> This is the default bash-4.2 behavior. >> > I think he wants something different than the current behavior. He > wants the variable to stay a variable so that it is expanded when the > command is executed while the current behavior is to escape the $ so

Re: How to get filename completion without variable expansion?

2011-11-17 Thread Pierre Gaston
On Thu, Nov 17, 2011 at 6:22 PM, Chet Ramey wrote: > On 11/16/11 7:13 AM, jens.schmid...@arcor.de wrote: >> Hi, >> >> I have the following problem: >> >> (Environment or regular) variable FOO contains the path of existing >> directory "/foo".  When I have a file "/foo/bar" in that directory and w

Re: How to get filename completion without variable expansion?

2011-11-17 Thread Chet Ramey
On 11/16/11 7:13 AM, jens.schmid...@arcor.de wrote: > Hi, > > I have the following problem: > > (Environment or regular) variable FOO contains the path of existing directory > "/foo". When I have a file "/foo/bar" in that directory and when I press TAB > in the following commandline ('|' denot