www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/09/05:57:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4B1F8286.8080709@alice.it>
Date: Wed, 09 Dec 2009 11:57:10 +0100
From: Angelo Graziosi <angelo DOT graziosi AT alice DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Base-Files (was Re: Unset TMP/TEMP in profile?)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

In the new '.bashrc' (in base-file-3.9) there is:

# export HISTIGNORE="[ \t]*:&:[fb]g:exit"
# export HISTIGNORE="[ \t]*:&:[fb]g:exit:ls"

and I have adopted the first,

[1]
export HISTIGNORE="[ \t]*:&:[fb]g:exit"

In my previous '.bashrc' I had

[2]
export HISTIGNORE="[  ]*:&:[fb]g:exit"

With the choice [1], command like

tar -cavf foo.tar.bz2 foo.txt

are ignored from history. Is this to be expected? What exactly does it 
mean '[ \t]'?


Thanks,
Angelo.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019