On Tue, Oct 20, 2009 at 2:22 AM, Bob Proulx wrote:
> Certainly yank-last-arg (M-.,M-_) is useful but don't forget about
> yank-nth-arg (M-C-y) which yanks the first argument. Most of the time
> that you are doing something like 'edit filename.c &' then you can use
> the still quite convenient M-C
On Mon, Oct 19, 2009 at 6:08 AM, Chet Ramey wrote:
> Sitaram Chamarty wrote:
>> Hello,
>>
>> When the previous command was backgrounded (say "gvim
>> filename.c &") and then you try some other command using
>> Alt-., it expands to "&&qu
Hello,
When the previous command was backgrounded (say "gvim
filename.c &") and then you try some other command using
Alt-., it expands to "&" and not "filename.c".
Is this considered a bug? Or correct behaviour that just
happens to be not useful in this specific case?
Thanks,
Sitaram
On 2009-02-13, Antonio Macchi wrote:
> i think that
>
> $ ( echo $x )
>
> is like
>
> $ bash -c 'echo $x'
it is confusing I agree. 'man bash' and look for the
section 'COMMAND EXECUTION ENVIRONMENT', which essentially
says that a simple command gets a different environment
(namely only the expor
On 2009-02-10, Chet Ramey wrote:
> I'm not immediately sure where you got that, but the documentation makes
> it clear:
>
> -e Exit immediately if a simple command (see SHELL GRAMMAR
> above) exits with a non-zero status. The shell does not
> exit
On Mon, Feb 9, 2009 at 10:08 PM, Chet Ramey wrote:
>> I'd like
>> [[ abc/dd/def.html == abc/*.html ]]; echo $?
>>
>> to return 1, not 0.
>>
>> What am I missing/doing wrong?
>
> You're not doing anything wrong. There's no mechanism to force
> FNM_PATHNAME-style matching using the [[ command.
On 2009-02-08, donglongchao wrote:
> Dear Sir or Madam: I have a wonderful idea about
> Bash(GNU bash version 3.2.39(1)-release
> (i486-pc-linux-gnu)).
>
> When I use tools like 'cat' or some other commands
>like this,I find it hard to specify where the file
you probably mea
Hello,
I'm trying to match a patterm that requires the behaviour of
FNM_PATHNAME (from fnmatch(3)). Unlike, say, FNM_PERIOD,
which is emulated by unsetting 'dotglob', there does not
seem to be an equivalent to emulate FNM_PATHNAME.
I'd like
[[ abc/dd/def.html == abc/*.html ]]; echo $?
to re