This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Odd command line recall problem


On 12/18/2013 04:42 PM, buggsy2 wrote:
> Good idea, right now it's:
> 
> xyz:/cygdrive/d/>printenv HISTIGNORE
> &:[ \t]*:#*

This says:

ignore duplicate commands,
ignore any command starting with space, backslash, or t,
ignore any comment

and tac starts with 't'.

Oh, you wanted to ignore tab?  Well, in bash regular expressions, [\t]
stands for two characters; if you want to ignore tab, you have to type a
literal TAB character instead.

> 
> I'm not sure what all that does. But I don't think it would ignore the tac
> command.

Like it or not, it IS ignoring the tac command.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]