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

Reply via email to