> On Tue, Sep 20, 2011 at 08:58:34AM -0500, Dennis Williamson wrote:
>You can get as fancy as you want with regexes in order to catch all
>cases of "rm" anywhere on the line and reduce the chances of a false
>positive:
>
>gawk '{ c = $0; getline; if ($0 ~
>(^|;[[:space:]]*)\[[:space:]]+/) { print
On Tue, Sep 20, 2011 at 1:34 AM, Roger wrote:
>> On Mon, Sep 19, 2011 at 08:38:44AM -0400, Greg Wooledge wrote:
>>On Sun, Sep 18, 2011 at 10:11:17PM -0800, Roger wrote:
>>> > On Mon, Sep 19, 2011 at 01:37:22AM -0400, Mike Frysinger wrote:
>>> >On Monday, September 19, 2011 01:18:02 Roger wrote:
>>
> On Mon, Sep 19, 2011 at 08:38:44AM -0400, Greg Wooledge wrote:
>On Sun, Sep 18, 2011 at 10:11:17PM -0800, Roger wrote:
>> > On Mon, Sep 19, 2011 at 01:37:22AM -0400, Mike Frysinger wrote:
>> >On Monday, September 19, 2011 01:18:02 Roger wrote:
>> >> I'm stumped on this as my history is in the for
On Sun, Sep 18, 2011 at 10:11:17PM -0800, Roger wrote:
> > On Mon, Sep 19, 2011 at 01:37:22AM -0400, Mike Frysinger wrote:
> >On Monday, September 19, 2011 01:18:02 Roger wrote:
> >> I'm stumped on this as my history is in the format of:
> >>
> >> $ tail ~/.bash_history
> >> #1316296633
> >> man b
Hi fellow Gentooer.
> On Mon, Sep 19, 2011 at 01:37:22AM -0400, Mike Frysinger wrote:
>On Monday, September 19, 2011 01:18:02 Roger wrote:
>> I'm stumped on this as my history is in the format of:
>>
>> $ tail ~/.bash_history
>> #1316296633
>> man bash
>> #1316296664
>> bash -xv
>> #1316372056
>
On Monday, September 19, 2011 01:18:02 Roger wrote:
> I'm stumped on this as my history is in the format of:
>
> $ tail ~/.bash_history
> #1316296633
> man bash
> #1316296664
> bash -xv
> #1316372056
> screen -rd
> #1316375930
> exit
> #1316392889
> exit
>
> Is there a method of purging the histo
I'm stumped on this as my history is in the format of:
$ tail ~/.bash_history
#1316296633
man bash
#1316296664
bash -xv
#1316372056
screen -rd
#1316375930
exit
#1316392889
exit
Is there a method of purging the history off all rm commands with such a file
format? I've tried using history | find |