From owner-freebsd-users-jp@freebsd.org Mon Feb 24 23:22:14 2020 Return-Path: Delivered-To: freebsd-users-jp@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 296602473B6 for ; Mon, 24 Feb 2020 23:22:14 +0000 (UTC) (envelope-from kouya@ryuhoku.jp) Received: from mail.pv.ryuhoku.jp (ebisu.kna.jp [203.141.146.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48RJ4N4lWFz3QRX for ; Mon, 24 Feb 2020 23:22:12 +0000 (UTC) (envelope-from kouya@ryuhoku.jp) Received: from THX (thx.pv.ryuhoku.jp [192.168.200.224]) by mail.pv.ryuhoku.jp (8.14.5/8.14.5) with SMTP id 01OND88a089166 for ; Tue, 25 Feb 2020 08:13:09 +0900 (JST) (envelope-from kouya@ryuhoku.jp) Message-ID: <2D3D352F88924CC2BF0D16E84F291897@pv.ryuhoku.jp> From: "kouya" To: Date: Tue, 25 Feb 2020 08:13:04 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 X-Spam-Status: No, score=4.4 required=5.0 tests=BAYES_40, FSL_HELO_NON_FQDN_1, STOX_REPLY_TYPE, STOX_REPLY_TYPE_WITHOUT_QUOTES, TVD_RCVD_SINGLE, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-Spam-Level: **** X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.pv.ryuhoku.jp X-Virus-Scanned: clamav-milter 0.97.4 at mail.pv.ryuhoku.jp X-Virus-Status: Clean X-Rspamd-Queue-Id: 48RJ4N4lWFz3QRX X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kouya@ryuhoku.jp has no SPF policy when checking 203.141.146.2) smtp.mailfrom=kouya@ryuhoku.jp X-Spamd-Result: default: False [6.46 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,body]; STOX_REPLY_TYPE(1.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(1.26)[ipnet: 203.141.128.0/19(2.78), asn: 2514(3.47), country: JP(0.04)]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-users-jp@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; HFILTER_HELO_NORES_A_OR_MX(0.30)[mail.pv.ryuhoku.jp]; NEURAL_SPAM_MEDIUM(1.00)[0.999,0]; RCVD_TLS_LAST(0.00)[]; NEURAL_SPAM_LONG(1.00)[0.999,0]; HAS_X_PRIO_THREE(0.00)[3]; R_SPF_NA(0.00)[]; HFILTER_HELO_IP_A(1.00)[mail.pv.ryuhoku.jp]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2514, ipnet:203.141.128.0/19, country:JP]; RCVD_COUNT_TWO(0.00)[2]; DMARC_NA(0.00)[ryuhoku.jp] X-Spam: Yes Subject: [FreeBSD-users-jp 96540] diff X-BeenThere: freebsd-users-jp@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion relevant to FreeBSD communities in Japan List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2020 23:22:14 -0000 diff のオプションについて、エラーが出て解決で来ませんので、教えて下さい。 11までのdiff には -F が、有ったのですが、12になって、無くなっています。 /usr/share/examples/ipfw/change_rules.sh の終わりに diff -F "^# .*[A-Za-z]" -u ${edit_file}.$DATE ${edit_file} \ | mail -s "`hostname` Firewall rule change" root rm ${TMPFILE} exit 0 と書いていますが、-F オプションが無いので、此処でエラーが出ます、私の能力では解決できません。 diff 使った事が無いので、どのオプションを、使ったらいいか解りません。 此のエラー、メールが届かないだけなので、問題ありませんが、気になります。 八代市昭和同仁町948    浦口 耕也 (容量制限あり) Mailto:kouya@ryuhoku.jp Mailto:kouya@kna.jp (容量制限なし) Mailto:chyobi3361@gmail.com Mailto:purin3361@live.jp From owner-freebsd-users-jp@freebsd.org Mon Feb 24 23:30:58 2020 Return-Path: Delivered-To: freebsd-users-jp@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 55F0E2478C4 for ; Mon, 24 Feb 2020 23:30:58 +0000 (UTC) (envelope-from ribbon@ns.ribbon.or.jp) Received: from ns.ribbon.or.jp (ns.ribbon.or.jp [210.171.174.178]) by mx1.freebsd.org (Postfix) with ESMTP id 48RJGR4Rc5z4D14 for ; Mon, 24 Feb 2020 23:30:55 +0000 (UTC) (envelope-from ribbon@ns.ribbon.or.jp) Received: by ns.ribbon.or.jp (Postfix, from userid 1001) id B2C812FC31B; Tue, 25 Feb 2020 08:30:46 +0900 (JST) Date: Tue, 25 Feb 2020 08:30:46 +0900 From: User Ribbon To: freebsd-users-jp@freebsd.org Message-ID: <20200224233046.GA12810@ns.ribbon.or.jp> References: <2D3D352F88924CC2BF0D16E84F291897@pv.ryuhoku.jp> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Disposition: inline In-Reply-To: <2D3D352F88924CC2BF0D16E84F291897@pv.ryuhoku.jp> User-Agent: Mutt/1.11.4 (2019-03-13) X-Rspamd-Queue-Id: 48RJGR4Rc5z4D14 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of ribbon@ns.ribbon.or.jp has no SPF policy when checking 210.171.174.178) smtp.mailfrom=ribbon@ns.ribbon.or.jp X-Spamd-Result: default: False [-1.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.64)[-0.641,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[ribbon.or.jp]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(-0.26)[asn: 10010(-1.33), country: JP(0.04)]; R_SPF_NA(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10010, ipnet:210.171.160.0/20, country:JP]; MID_RHS_MATCH_FROM(0.00)[] Subject: [FreeBSD-users-jp 96541] Re: diff X-BeenThere: freebsd-users-jp@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion relevant to FreeBSD communities in Japan List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2020 23:30:58 -0000 On Tue, Feb 25, 2020 at 08:13:04AM +0900, kouya wrote: > diff のオプションについて、エラーが出て解決で来ませんので、教えて下さい。 > > 11までのdiff には -F が、有ったのですが、12になって、無くなっています。 Ver 11 と Ver 12 でそれぞれ diff --version と入力したらどうなりますか? ribbon From owner-freebsd-users-jp@freebsd.org Mon Feb 24 23:45:44 2020 Return-Path: Delivered-To: freebsd-users-jp@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0DC7D247FDF for ; Mon, 24 Feb 2020 23:45:44 +0000 (UTC) (envelope-from kouya@ryuhoku.jp) Received: from mail.pv.ryuhoku.jp (ebisu.kna.jp [203.141.146.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48RJbV1Lksz3L4F for ; Mon, 24 Feb 2020 23:45:41 +0000 (UTC) (envelope-from kouya@ryuhoku.jp) Received: from THX (thx.pv.ryuhoku.jp [192.168.200.224]) by mail.pv.ryuhoku.jp (8.14.5/8.14.5) with SMTP id 01ONjZTZ090820; Tue, 25 Feb 2020 08:45:36 +0900 (JST) (envelope-from kouya@ryuhoku.jp) Message-ID: <66C529AA8E7D4E998D199ED0C5F02082@pv.ryuhoku.jp> From: "kouya" To: "User Ribbon" , References: <2D3D352F88924CC2BF0D16E84F291897@pv.ryuhoku.jp> <20200224233046.GA12810@ns.ribbon.or.jp> In-Reply-To: <20200224233046.GA12810@ns.ribbon.or.jp> Date: Tue, 25 Feb 2020 08:45:31 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00, FSL_HELO_NON_FQDN_1, STOX_REPLY_TYPE, TVD_RCVD_SINGLE, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.pv.ryuhoku.jp X-Virus-Scanned: clamav-milter 0.97.4 at mail.pv.ryuhoku.jp X-Virus-Status: Clean X-Rspamd-Queue-Id: 48RJbV1Lksz3L4F X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kouya@ryuhoku.jp has no SPF policy when checking 203.141.146.2) smtp.mailfrom=kouya@ryuhoku.jp X-Spamd-Result: default: False [6.45 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; STOX_REPLY_TYPE(1.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[ryuhoku.jp]; AUTH_NA(1.00)[]; HFILTER_HELO_IP_A(1.00)[mail.pv.ryuhoku.jp]; NEURAL_SPAM_MEDIUM(0.99)[0.990,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; HAS_X_PRIO_THREE(0.00)[3]; NEURAL_SPAM_LONG(1.00)[1.000,0]; R_SPF_NA(0.00)[]; HFILTER_HELO_NORES_A_OR_MX(0.30)[mail.pv.ryuhoku.jp]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2514, ipnet:203.141.128.0/19, country:JP]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(1.26)[ipnet: 203.141.128.0/19(2.78), asn: 2514(3.47), country: JP(0.04)] X-Spam: Yes Subject: [FreeBSD-users-jp 96542] Re: diff X-BeenThere: freebsd-users-jp@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion relevant to FreeBSD communities in Japan List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2020 23:45:44 -0000 有難うございます。 ver 11 は無いので ver 12 のみです root@p6x:~ # diff --version diff: unrecognized option `--version' usage: diff [-aBbdilpTtw] [-c | -e | -f | -n | -q | -u] [--ignore-case] [--no-ignore-case] [--normal] [--strip-trailing-cr] [--tabsize] [-I pattern] [-L label] file1 file2 diff [-aBbdilpTtw] [-I pattern] [-L label] [--ignore-case] [--no-ignore-case] [--normal] [--strip-trailing-cr] [--tabsize] -C number file1 file2 diff [-aBbdiltw] [-I pattern] [--ignore-case] [--no-ignore-case] [--normal] [--strip-trailing-cr] [--tabsize] -D string file1 file2 diff [-aBbdilpTtw] [-I pattern] [-L label] [--ignore-case] [--no-ignore-case] [--normal] [--tabsize] [--strip-trailing-cr] -U number file1 file2 diff [-aBbdilNPprsTtw] [-c | -e | -f | -n | -q | -u] [--ignore-case] [--no-ignore-case] [--normal] [--tabsize] [-I pattern] [-L label] [-S name] [-X file] [-x pattern] dir1 dir2 と表示されます。 宜しくお願いします。 -----Original Message----- From: User Ribbon Sent: Tuesday, February 25, 2020 8:30 AM To: freebsd-users-jp@freebsd.org Subject: [FreeBSD-users-jp 96541] Re: diff On Tue, Feb 25, 2020 at 08:13:04AM +0900, kouya wrote: > diff のオプションについて、エラーが出て解決で来ませんので、教えて下さい。 > > 11までのdiff には -F が、有ったのですが、12になって、無くなっています。 > Ver 11 と Ver 12 でそれぞれ diff --version と入力したらどうなりますか? ribbon _______________________________________________ freebsd-users-jp@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp To unsubscribe, send any mail to "freebsd-users-jp-unsubscribe@freebsd.org" From owner-freebsd-users-jp@freebsd.org Mon Feb 24 23:46:38 2020 Return-Path: Delivered-To: freebsd-users-jp@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A841E248114 for ; Mon, 24 Feb 2020 23:46:38 +0000 (UTC) (envelope-from shinji@pcdr-akiba.jp) Received: from ns.pcdr-akiba.jp (ns.pcdr-akiba.jp [219.117.252.11]) by mx1.freebsd.org (Postfix) with ESMTP id 48RJcW55b7z3N1F for ; Mon, 24 Feb 2020 23:46:35 +0000 (UTC) (envelope-from shinji@pcdr-akiba.jp) Received: from ns.pcdr-akiba.jp (localhost [127.0.0.1]) by ns.pcdr-akiba.jp (Postfix) with ESMTP id C333A386C48 for ; Tue, 25 Feb 2020 08:46:27 +0900 (JST) X-Virus-Scanned: amavisd-new at pcdr-akiba.jp Received: from ns.pcdr-akiba.jp ([127.0.0.1]) by ns.pcdr-akiba.jp (ns.pcdr-akiba.jp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6zk19IzOiaCu for ; Tue, 25 Feb 2020 08:43:32 +0900 (JST) Received: from AkibaPC (218-42-253-110f2.kns1.eonet.ne.jp [218.42.253.110]) by ns.pcdr-akiba.jp (Postfix) with ESMTPA id 3B613386C36 for ; Tue, 25 Feb 2020 08:43:32 +0900 (JST) Date: Tue, 25 Feb 2020 08:43:39 +0900 From: PCDR AKIBA =?ISO-2022-JP?B?GyRCPSk+bBsoQg==?= To: freebsd-users-jp@freebsd.org Message-Id: <20200225084339.0aeac21cb1735badf1ac80a4@pcdr-akiba.jp> In-Reply-To: <2D3D352F88924CC2BF0D16E84F291897@pv.ryuhoku.jp> References: <2D3D352F88924CC2BF0D16E84F291897@pv.ryuhoku.jp> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48RJcW55b7z3N1F X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of shinji@pcdr-akiba.jp designates 219.117.252.11 as permitted sender) smtp.mailfrom=shinji@pcdr-akiba.jp X-Spamd-Result: default: False [2.07 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-users-jp@freebsd.org]; TO_DN_NONE(0.00)[]; NEURAL_SPAM_MEDIUM(0.84)[0.836,0]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.75)[-0.751,0]; RCVD_COUNT_THREE(0.00)[4]; DMARC_NA(0.00)[pcdr-akiba.jp]; MV_CASE(0.50)[]; IP_SCORE(1.69)[ipnet: 219.117.192.0/18(4.91), asn: 2514(3.47), country: JP(0.04)]; RCVD_NO_TLS_LAST(0.10)[]; RECEIVED_SPAMHAUS_PBL(0.00)[110.253.42.218.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2514, ipnet:219.117.192.0/18, country:JP]; MID_RHS_MATCH_FROM(0.00)[]; FROM_EQ_ENVFROM(0.00)[] Subject: [FreeBSD-users-jp 96543] Re: diff X-BeenThere: freebsd-users-jp@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion relevant to FreeBSD communities in Japan List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2020 23:46:38 -0000 こんにちは、秋場と申します。 On Tue, 25 Feb 2020 08:13:04 +0900 "kouya" wrote: > diff のオプションについて、エラーが出て解決で来ませんので、教えて下さい。 > > 11までのdiff には -F が、有ったのですが、12になって、無くなっています。 http://gihyo.jp/admin/serial/01/bsd-yomoyama/0097 にて FreeBSD 12-CURRENTのデフォルトのdiff(1)コマンド実装がGNU diffからBSD diffに 切り替わりました。/usr/src/UPDATINGにその旨が追加されました。 : 説明によるとBSD diffはGNU diffのいくつかの機能は実装していないとしており, そうした機能が必要な場合にはパッケージからdiffutilsをインストールして使う ようにとあります。diffutilsパッケージをインストールするとgdiffという コマンドがインストールされますので,これがGNU diffとなります。 とあります。 diffutiles を入れて、shellスクリプトの diff を gdiff に書き換えてみましょう。 -- PCDR AKIBA 秋場 From owner-freebsd-users-jp@freebsd.org Mon Feb 24 23:49:27 2020 Return-Path: Delivered-To: freebsd-users-jp@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1273724829B for ; Mon, 24 Feb 2020 23:49:27 +0000 (UTC) (envelope-from moto@kawasaki3.org) Received: from flyingdutchman.kawasaki3.org (EE0475lan5.rev.em-net.ne.jp [124.109.182.21]) by mx1.freebsd.org (Postfix) with ESMTP id 48RJgm5HpVz3y1R for ; Mon, 24 Feb 2020 23:49:24 +0000 (UTC) (envelope-from moto@kawasaki3.org) Received: from localhost (p7195-ipbffx02marunouchi.tokyo.ocn.ne.jp [61.126.191.195]) by flyingdutchman.kawasaki3.org (Postfix) with ESMTPSA id 01687102448; Tue, 25 Feb 2020 08:48:48 +0900 (JST) Date: Tue, 25 Feb 2020 08:48:54 +0900 (JST) Message-Id: <20200225.084854.2001419726077617142.moto@kawasaki3.org> To: ribbon@ns.ribbon.or.jp Cc: freebsd-users-jp@freebsd.org From: moto kawasaki In-Reply-To: <20200224233046.GA12810@ns.ribbon.or.jp> References: <2D3D352F88924CC2BF0D16E84F291897@pv.ryuhoku.jp> <20200224233046.GA12810@ns.ribbon.or.jp> X-Mailer: Mew version 6.8 on Emacs 26.2 Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.102.1 at flyingdutchman.kawasaki3.org X-Virus-Status: Clean X-Rspamd-Queue-Id: 48RJgm5HpVz3y1R X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of moto@kawasaki3.org designates 124.109.182.21 as permitted sender) smtp.mailfrom=moto@kawasaki3.org X-Spamd-Result: default: False [-1.22 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.965,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:124.109.182.21]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[kawasaki3.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; IP_SCORE(-0.55)[asn: 2516(-2.80), country: JP(0.04)]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2516, ipnet:124.109.182.0/23, country:JP]; RCVD_COUNT_TWO(0.00)[2] Subject: [FreeBSD-users-jp 96544] Re: diff X-BeenThere: freebsd-users-jp@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion relevant to FreeBSD communities in Japan List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2020 23:49:27 -0000 FreeBSD 12 になるタイミングで同梱の diff が GNU のものから BSD なもの に変更になったようです。 GNU diffutils が必要なら ports の textutils/diffutils をインストールす れば良いと思います。 でも /usr/share/examples/ipfw/change_rules.sh には確かに diff -F 云々 が残ってますね。 -- moto kawasaki +81-90-2464-8454 on Tue, 25 Feb 2020 08:30:46 +0900, User Ribbon wrote: > On Tue, Feb 25, 2020 at 08:13:04AM +0900, kouya wrote: > > diff のオプションについて、エラーが出て解決で来ませんので、教えて下さい。 > > > > 11までのdiff には -F が、有ったのですが、12になって、無くなっています。 > > Ver 11 と Ver 12 でそれぞれ > > diff --version > > と入力したらどうなりますか? > > ribbon > _______________________________________________ > freebsd-users-jp@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp > To unsubscribe, send any mail to "freebsd-users-jp-unsubscribe@freebsd.org" From owner-freebsd-users-jp@freebsd.org Tue Feb 25 00:30:59 2020 Return-Path: Delivered-To: freebsd-users-jp@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1C6352499A3 for ; Tue, 25 Feb 2020 00:30:59 +0000 (UTC) (envelope-from kouya@ryuhoku.jp) Received: from mail.pv.ryuhoku.jp (ebisu.kna.jp [203.141.146.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48RKbg41twz3DMH for ; Tue, 25 Feb 2020 00:30:54 +0000 (UTC) (envelope-from kouya@ryuhoku.jp) Received: from THX (thx.pv.ryuhoku.jp [192.168.200.224]) by mail.pv.ryuhoku.jp (8.14.5/8.14.5) with SMTP id 01P0UmKh093769; Tue, 25 Feb 2020 09:30:49 +0900 (JST) (envelope-from kouya@ryuhoku.jp) Message-ID: From: "kouya" To: , "moto kawasaki" Cc: References: <2D3D352F88924CC2BF0D16E84F291897@pv.ryuhoku.jp> <20200224233046.GA12810@ns.ribbon.or.jp> <20200225.084854.2001419726077617142.moto@kawasaki3.org> In-Reply-To: <20200225.084854.2001419726077617142.moto@kawasaki3.org> Date: Tue, 25 Feb 2020 09:30:44 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_00, FSL_HELO_NON_FQDN_1, STOX_REPLY_TYPE, TVD_RCVD_SINGLE, T_RP_MATCHES_RCVD autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.pv.ryuhoku.jp X-Virus-Scanned: clamav-milter 0.97.4 at mail.pv.ryuhoku.jp X-Virus-Status: Clean X-Rspamd-Queue-Id: 48RKbg41twz3DMH X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of kouya@ryuhoku.jp has no SPF policy when checking 203.141.146.2) smtp.mailfrom=kouya@ryuhoku.jp X-Spamd-Result: default: False [6.45 / 15.00]; ARC_NA(0.00)[]; GREYLIST(0.00)[pass,meta]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; STOX_REPLY_TYPE(1.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; AUTH_NA(1.00)[]; HFILTER_HELO_IP_A(1.00)[mail.pv.ryuhoku.jp]; NEURAL_SPAM_MEDIUM(0.99)[0.993,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; IP_SCORE(1.26)[ipnet: 203.141.128.0/19(2.78), asn: 2514(3.47), country: JP(0.04)]; NEURAL_SPAM_LONG(1.00)[1.000,0]; HAS_X_PRIO_THREE(0.00)[3]; R_SPF_NA(0.00)[]; DMARC_NA(0.00)[ryuhoku.jp]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2514, ipnet:203.141.128.0/19, country:JP]; RCVD_COUNT_TWO(0.00)[2]; HFILTER_HELO_NORES_A_OR_MX(0.30)[mail.pv.ryuhoku.jp] X-Spam: Yes Subject: [FreeBSD-users-jp 96545] Re: diff X-BeenThere: freebsd-users-jp@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion relevant to FreeBSD communities in Japan List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Feb 2020 00:30:59 -0000 Ribbon 様 akiba 様 kawasaki 様 有難うございました、diffutils を入れ、エラーが出ないことを確認しました。 今朝、12.1-RELEASE のソースをアップデートして /usr/src/share/examples/ipfw/change_rules.sh を見てみたのですが # $FreeBSD: releng/12.1/share/examples/ipfw/change_rules.sh 326275 2017-11-27 15:28:26Z pfg $ . . diff -F "^# .*[A-Za-z]" -u ${edit_file}.$DATE ${edit_file} \ | mail -s "`hostname` Firewall rule change" root rm ${TMPFILE} exit 0 と記述が有ったので、diff のオプションは、間違いないと思っていました。 皆様有難うございました。 -----Original Message----- From: moto kawasaki Sent: Tuesday, February 25, 2020 8:48 AM To: ribbon@ns.ribbon.or.jp Cc: freebsd-users-jp@freebsd.org Subject: [FreeBSD-users-jp 96544] Re: diff FreeBSD 12 になるタイミングで同梱の diff が GNU のものから BSD なもの に変更になったようです。 GNU diffutils が必要なら ports の textutils/diffutils をインストールす れば良いと思います。 でも /usr/share/examples/ipfw/change_rules.sh には確かに diff -F 云々 が残ってますね。 -- moto kawasaki +81-90-2464-8454 on Tue, 25 Feb 2020 08:30:46 +0900, User Ribbon wrote: > On Tue, Feb 25, 2020 at 08:13:04AM +0900, kouya wrote: > > diff のオプションについて、エラーが出て解決で来ませんので、教えて下さい。 > > > > > > 11までのdiff には -F が、有ったのですが、12になって、無くなっています。 > > > > Ver 11 と Ver 12 でそれぞれ > > diff --version > > と入力したらどうなりますか? > > ribbon > _______________________________________________ > freebsd-users-jp@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp > To unsubscribe, send any mail to > "freebsd-users-jp-unsubscribe@freebsd.org" _______________________________________________ freebsd-users-jp@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-users-jp To unsubscribe, send any mail to "freebsd-users-jp-unsubscribe@freebsd.org"