Re: lseek with bash

2011-12-11 Thread Dan Douglas
On Friday, December 09, 2011 04:35:11 PM Chet Ramey wrote: > On 12/9/11 10:12 AM, Jean-Jacques Brucker wrote: > > Playing with flock to securely access to a file shared by multiple > > process. I noticed there are no documented way to do an lseek on an > > > opened fd with bash : > [...] >

completion in var=$(cmd1) cmd2

2011-12-11 Thread Raphaƫl Droz
Example: $ var=$(id) foo completes with completion matches from id(1) This is problematic for cases like: LD_LIBRARY_PATH=$(find ...) cmd -- where options are those from find(1). I didn't looked deeper but I guess the faulty part is in _rl_find_completion_word() which, as its name suggest, *shou

feature request: configurable history timestamps

2011-12-11 Thread Alex Shinn
Hi, I had initially been confused by the HISTTIMEFORMAT variable thinking it could be used to change what was written to the history file, rather than the output of the history command. Obviously it would have to be a separate variable, but the ability to add extra info to the history file would

Re: invoke tilde expansion on quoted string

2011-12-11 Thread Yang Chengwei
On Sat, Nov 12, 2011 at 01:42:16PM +0800, Peng Yu wrote: > Hi, > > I know from the document that tilde expansion only works if the string > is unquoted (see below) > > ~$ cd '~/..' > -bash: cd: ~/..: No such file or directory > ~$ cd ~/.. > /Users$ > > I'm wondering if I already have a string va