Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 11 Jun 2012 13:22:35 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Re: bash completion

On 06/11/2012 12:26 PM, Frank Dittrich wrote:
> On 06/11/2012 10:42 AM, magnum wrote:
>> Not sure what is wrong, still neither works. Could it be something odd
>> with my system? (Mint 13 / Ubuntu 12).
>>
>> ./unique <[TAB][TAB] gives nothing.
>>
>> magnum
> 
> At least the behavior was consistent with john, and for > and 2> and so on.

I only tested
$ ./unique < [tab][tab]
and
$ ./unique <p[tab][tab]

> The attached patch fixes this.

Now I discovered a problem with my last patch, and I am not sure I like it.

All options --option= or --opt: that are not individually handled get
the list of all file names and directories as completions:


$ ./john --markov=[tab][tab]
all.chr               john.local.conf       rar2john
alnum.chr             john.rec              raw2dyna
alpha.chr             lanman.chr            relbench
calc_stat             ldif2john.pl          sap2john.pl
...

Fixing this will probably not be as easy as I'd like it to be.

Frank

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.