From owner-man-jp@jp.FreeBSD.org Thu Jan 24 13:01:44 2002
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id g0O41iH62349;
	Thu, 24 Jan 2002 13:01:44 +0900 (JST)
	(envelope-from owner-man-jp@jp.FreeBSD.org)
Received: from mail4.noc.ntt.co.jp (mail4.noc.ntt.co.jp [210.163.32.59])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with ESMTP/inet id g0O41iL62344
	for <man-jp@jp.FreeBSD.org>; Thu, 24 Jan 2002 13:01:44 +0900 (JST)
	(envelope-from susumu.wakabayashi@ntt.com)
Received: from ms2-gw.noc.ntt.com (ms2-gw.noc.ntt.com) by mail4.noc.ntt.co.jp (8.9.3/NOC-MAIL1) id NAA04619 for <man-jp@jp.FreeBSD.org>; Thu, 24 Jan 2002 13:01:43 +0900 (JST)
Received: from mr2-gw.noc.ntt.com by ms2-gw.noc.ntt.com (8.9.3/3.7W) id NAA21948; Thu, 24 Jan 2002 13:01:42 +0900 (JST)
Received: from mail3.noc.ntt.com by mr2-gw.noc.ntt.com (8.9.3/3.7W) id NAA21929; Thu, 24 Jan 2002 13:01:41 +0900 (JST)
Received: from jazz.wakabaya.net by mail3.noc.ntt.com (8.9.3/3.7W) id NAA15335; Thu, 24 Jan 2002 13:01:41 +0900 (JST)
Date: Thu, 24 Jan 2002 13:01:41 +0900
Message-ID: <874rlctn16.wl%susumu.wakabayashi@ntt.com>
From: susumu.wakabayashi@ntt.com (=?ISO-2022-JP?B?GyRCPGNOUxsoQiA=?=
 =?ISO-2022-JP?B?GyRCP0obKEI=?=)
To: man-jp@jp.FreeBSD.org
In-Reply-To: <200201240252.LAA03643@udlew10.uldev.lsi.nec.co.jp>
References: <200201240252.LAA03643@udlew10.uldev.lsi.nec.co.jp>
User-Agent: Wanderlust/2.9.4 (Unchained Melody) SEMI/1.14.3 (Ushinoya)
 SLIM/1.14.7 (=?ISO-2022-JP?B?GyRCPHIwZjpMTD4bKEI=?=) APEL/10.3 Emacs/21.1
 (i386-unknown-freebsd4.3) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=)
MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya")
Content-Type: text/plain; charset=ISO-2022-JP
Reply-To: man-jp@jp.FreeBSD.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+011218
X-Sequence: man-jp 3946
Subject: [man-jp 3946] Re: "man -k" executes any command.
Errors-To: owner-man-jp@jp.FreeBSD.org
Sender: owner-man-jp@jp.FreeBSD.org
X-Originator: susumu.wakabayashi@ntt.com

$B<cNS$H?=$7$^$9(B. 

At Thu, 24 Jan 2002 11:52:25 +0900 (JST),
Hironori Sakamoto wrote:
> 
> FreeBSD $B$G(B man (jman) $B$r;H$C$F$$$F!"4qL/$J(B($B4m81$J(B)$B$3$H$r8+$D$1$^$7$?!#(B
> man -k "echo ; ls" $B$J$I$H$7$F$_$F$/$@$5$$!#(Bls $B$,<B9T$5$l$F$7$^$$$^$9!#(B

$B$.$g$H;W$C$F8+$F$_$^$7$?$i(B, /usr/src/gnu/usr.bin/man/man/man.c $B$N(B

----------------
1.36 Sat Nov 13 0:11:50 JST 1999 UTC by jhb

Fix man so that it does not allow command line arguments to expand when
executing apropos or whatis.  This prevents `man -k ';echo foo'` from
executing `echo foo` and causes apropos to print an error message instead.

Add $FreeBSD$ while I am here.

Noticed by:	chris
----------------

$B$GD>$C$F$k$_$?$$$G$9(B. ($BB?J,(B3.4-R $B0J9_(B)
--
http://wakabaya.net/susumu/				   $B<cNS(B $B?J(B
pgp fingerprint: E50A 7980 597F 3288 FFCA 6E1D C9E2 9701 7583 4AC3
