Date: Mon, 16 Jul 2012 05:11:40 -0400 From: "Thomas Mueller" <mueller23@insightbb.com> To: freebsd-stable@freebsd.org Cc: Glen Barber <gjb@FreeBSD.org> Subject: Re: less and vi fail on file whose name begins with + Message-ID: <27.6A.16070.CCAD3005@smtp01.insight.synacor.com>
next in thread | raw e-mail | index | archive | help
from Glen Barber <gjb@FreeBSD.org>: > less(1) is expecting '+' to be followed by additional arguments. > If you use 'less -- +DESC', for example, it should work fine. Same with > vi(1). Yes, that works, as does "less ./+DESC". Somehow I thought I had successfully done "less +CONTENTS" successfully before, but I must have preceded filename by path. Less and vi failing when used directly on filename beginning with + is also true for Linux, I checked on Slackware 13.0. Thanks to you and others for helpful responses. Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27.6A.16070.CCAD3005>