From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16725 invoked by alias); 24 Jul 2016 00:39:20 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38932 Received: (qmail 14031 invoked from network); 24 Jul 2016 00:39:20 -0000 X-Qmail-Scanner-Diagnostics: from nm22-vm6.bullet.mail.ir2.yahoo.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(212.82.97.12):SA:0(0.0/5.0):. Processed in 0.125731 secs); 24 Jul 2016 00:39:20 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=FREEMAIL_FROM,SPF_PASS, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: okiddle@yahoo.co.uk X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.mail.yahoo.com designates 212.82.97.12 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1469320407; bh=BNRhg0JmpO5MtmDTGt5chbq4X+SGPkSYSg3dif/h4Yk=; h=In-reply-to:From:References:To:cc:Subject:Date:From:Subject; b=aVRju1dwQzObPqdYasMf1laoGCPgQjcxeo9rJTYvpVWflr6VED3pQgm5paN1d/jb7H6fp088ksfMfNy2r0Zb9QtFjfT9FLiZtSHTIhU+6G6HJO6G/woSWNgx35FzaJbzP1JtAJYOVK0vp/XQ01EpILTZ7D0lY8k+vUZStsUYNRef+3TGA6Q0mqKx3tr/hvFBlIlhfxR1Dat/1wMjauF0LVSOcNQP+teEf7diVKyRFFzQap7jvGL+pxGp1fQpJTiZ+XZzyjFeH3NV6fn39ulSK/X0RlOIrrCbdw4xEoYiJM37d1kt7ILadCjei3VHXwWEdcTA4YFTCGkmgwzrTRi0gg== X-Yahoo-Newman-Id: 670151.9018.bm@smtp123.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: c8qwgkwVM1kUA25Y2sJmbRXJLDoFsHY5snOERRXTnqj55PI O3S1cXLTmIpMaRWblcpVfunXTfYkrqfJhdSn..d9VPBSjArKufihcmjydjBw r2g7d3ZVi5NtpXYdSXSTfLntNKxFcg.Kw5.MYu0QySkNJHxN.x539uHXaGrU BAFQh8_jAPRt_exhPTfAIjBrrO6qc083arDILmoBEDNnAlUcJ3gyqgDX5wd9 BYX_Y7NdEDr7OJ0ZS_kfNcAe9Q3Shc.o.7DO46stC9zLBOFmVek9q_AL_BTW 9TOjCPnibFY4R30BTY1ut9IZR6Aisjb4ESPkkvL3JS7yNi.CwOahlJX2zYmo g1LiqqjaGYYpu5Jk1NsKMZeDyIIT.q8Oc6U_fG5tRfN67u.E5G_OAJHhss0m qR66KbvZDrfDGc0aqrBumL1uil9LXoG5_XUtU6VvGaW6agpGG9gxVw6WyxIR AiZ6_v6XeXXI.0msjW8.0g3HPIcArrMN0se0F4mRlvoZ49Ihw3jrZSMyd4Ow 445oXWQZiOItF6iQC.kd2fDyp.iQY.1W4KX4Sn6LBIR0- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- In-reply-to: <20160723235615.GA34715@CptOrmolo.darkstar> From: Oliver Kiddle References: <20160723235615.GA34715@CptOrmolo.darkstar> To: Matthew Martin cc: zsh-workers@zsh.org Subject: Re: [patch] Update _tcpdump for Free and Open BSD MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <6224.1469320406.1@hydra.kiddle.eu> Date: Sun, 24 Jul 2016 02:33:26 +0200 Message-ID: <6225.1469320406@hydra.kiddle.eu> Matthew Martin wrote: > I haven't verified if the default options are still valid for whatever > tcpdump Linux systems use. It's the same tcpdump just with the BSDs merging into their source tree, right? So FreeBSD just has 4.4.0 while on Linux it is 4.7.4. What version is it on OpenBSD? Are the BSDs pulling upstream changes from time to time or have they effectively done a permanent fork? The Linux one seems to have been infected with long options. I started some work on completing the filters which I ought to dig out and finish. > Specifying an that an option (such as -L) excludes all but one other > option (such as -i) is very tedious. Any chance a notation like > '(-*~i *)-L[...' could be supported? You can use the sets for that. Something like: _arguments -C -s \ '-i+[specify interface]:interface:_interfaces' \ - listt \ '-J[list supported time stamp types]' \ - listd \ '-L[list data link types for the interface]' \ - capture \ ... Oliver