From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 8 14:46:43 2008 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91F9716A41B for ; Fri, 8 Feb 2008 14:46:43 +0000 (UTC) (envelope-from frank@exit.com) Received: from tinker.exit.com (tinker.exit.com [206.223.0.1]) by mx1.freebsd.org (Postfix) with ESMTP id 1051913C468 for ; Fri, 8 Feb 2008 14:46:42 +0000 (UTC) (envelope-from frank@exit.com) Received: from jill.exit.com (jill.exit.com [206.223.0.4]) by tinker.exit.com (8.14.1/8.14.1) with ESMTP id m18EJNqe075210; Fri, 8 Feb 2008 06:19:23 -0800 (PST) (envelope-from frank@exit.com) DKIM-Signature: v=1; a=rsa-sha1; c=simple/simple; d=exit.com; s=tinker; t=1202480363; bh=WIvgBEBwbFftDjCGtxu4unQQsg0=; h=X-Authentication-Warning:Subject:From:Reply-To:To:Cc:In-Reply-To: References:Content-Type:Content-Transfer-Encoding:Organization: Date:Message-Id:Mime-Version:X-Mailer; b=vw1witKBwRw1UQGKE7jq38lQo mGrrTz9lruA0S53sxRn9X34CpA8U3ac+bEO9H3ufQZ7VyMGYQd/tvhtMlOQL0a8tsJw LFgtpTXi6W/EOCNxO+smaOD3Zhf0yfmaBCsXva4Z6c8jbKVF2rWlQZPYELL6FOUijWm Na0CNyqBHK/k= Received: from jill.exit.com (localhost [127.0.0.1]) by jill.exit.com (8.14.1/8.14.1) with ESMTP id m18EJNPx093481; Fri, 8 Feb 2008 06:19:23 -0800 (PST) (envelope-from frank@exit.com) Received: (from frank@localhost) by jill.exit.com (8.14.1/8.14.2/Submit) id m18EJMrB093467; Fri, 8 Feb 2008 06:19:22 -0800 (PST) (envelope-from frank@exit.com) X-Authentication-Warning: jill.exit.com: frank set sender to frank@exit.com using -f From: Frank Mayhar To: Alex Zbyslaw In-Reply-To: <47AC3F3C.7070909@dial.pipex.com> References: <86prv7agit.fsf@ds4.des.no> <47AC3F3C.7070909@dial.pipex.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Organization: Exit Consulting Date: Fri, 08 Feb 2008 06:19:22 -0800 Message-Id: <1202480362.92566.1.camel@jill.exit.com> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port X-Virus-Scanned: ClamAV 0.92/5741/Fri Feb 8 03:47:08 2008 on tinker.exit.com X-Virus-Status: Clean Cc: Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= , hackers@freebsd.org Subject: Re: nvi strangeness X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: frank@exit.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2008 14:46:43 -0000 On Fri, 2008-02-08 at 11:38 +0000, Alex Zbyslaw wrote: > Dag-Erling Sm=F8rgrav wrote: >=20 > >That doesn't work, however, and neither does "1,"; only "X,Y" works, so > >if you want to substitute in the entire file, you first have to find out > >how long it is, then manually type in that number. > > > > =20 > > > Does 1,$ not work? That's what I always used in ed. Yes, it works. I use it all the time in nvi, in various forms. --=20 Frank Mayhar frank@exit.com http://www.exit.com/ Exit Consulting http://www.gpsclock.com/ http://www.exit.com/blog/frank/ http://www.zazzle.com/fmayhar*