From owner-freebsd-stable@FreeBSD.ORG Mon Jul 16 05:25:06 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90EFE1065688 for ; Mon, 16 Jul 2012 05:25:06 +0000 (UTC) (envelope-from poyopoyo@puripuri.plala.or.jp) Received: from msa01b.plala.or.jp (msa01.plala.or.jp [IPv6:2400:7800:0:5010::1]) by mx1.freebsd.org (Postfix) with ESMTP id 07BAC8FC15 for ; Mon, 16 Jul 2012 05:25:05 +0000 (UTC) Received: from i219-164-54-186.s02.a026.ap.plala.or.jp ([219.164.54.186]) by msa01b.plala.or.jp with ESMTP id <20120716052504.BRID441.msa01b.plala.or.jp@i219-164-54-186.s02.a026.ap.plala.or.jp>; Mon, 16 Jul 2012 14:25:04 +0900 Date: Mon, 16 Jul 2012 14:25:04 +0900 Message-ID: <86wr246zwv.wl%poyopoyo@puripuri.plala.or.jp> From: poyopoyo@puripuri.plala.or.jp To: "Thomas Mueller" In-Reply-To: References: Mail-Followup-To: "Thomas Mueller" , freebsd-stable@freebsd.org, poyopoyo@puripuri.plala.or.jp User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-2022-JP-2?B?R29qGyQoRCtXGyhC?=) APEL/10.8 Emacs/23.4 (amd64-portbld-freebsd10.0) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-VirusScan: Outbound; msa01b; Mon, 16 Jul 2012 14:25:04 +0900 Cc: freebsd-stable@freebsd.org Subject: Re: less and vi fail on file whose name begins with + X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jul 2012 05:25:06 -0000 At Mon, 16 Jul 2012 01:03:30 -0400, Thomas Mueller wrote: > I tried vi instead of less, not really wanting to edit the file, > and vi tried to open a temporary file on /tmp with a strange name. > > Has anybody noticed this bug? It affects i386 and amd64 at least. You might have received enough replies already but reading manual page is always good thing to understand unix command behaviour. $ man vi | less +/\\+cmd $ man less | less +/\\+cmd No bugs involved here; they both are working as designed. -- kuro