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

On 06/11/2012 01:22 PM, Frank Dittrich wrote:
> 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.

Sorry to spam the list, but now I found the correct solution.
Patch attached.

Frank

View attachment "0001-bash-completion-avoid-default-completion-for-opt.patch" of type "text/x-patch" (1482 bytes)

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.