From owner-freebsd-questions Tue Apr 23 4:40:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailout6.nyroc.rr.com (mailout6-0.nyroc.rr.com [24.92.226.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A9A337B41C for ; Tue, 23 Apr 2002 04:40:20 -0700 (PDT) Received: from roc-24-58-68-40.rochester.rr.com (roc-24-58-68-40.rochester.rr.com [24.58.68.40]) by mailout6.nyroc.rr.com (8.11.6/Road Runner 1.12) with ESMTP id g3NBeI310398; Tue, 23 Apr 2002 07:40:19 -0400 (EDT) Received: from roc-24-58-68-40.rochester.rr.com (localhost [127.0.0.1]) by roc-24-58-68-40.rochester.rr.com (8.12.2/8.12.2) with ESMTP id g3NBeIT7002849; Tue, 23 Apr 2002 07:40:18 -0400 (EDT) (envelope-from aaron@roc-24-58-68-40.rochester.rr.com) Received: (from aaron@localhost) by roc-24-58-68-40.rochester.rr.com (8.12.2/8.12.2/Submit) id g3NBeIDK002848; Tue, 23 Apr 2002 07:40:18 -0400 (EDT) Date: Tue, 23 Apr 2002 07:40:18 -0400 From: Aaron Luz To: freebsd-questions@FreeBSD.ORG Cc: "Matthew R. Dietrich" Subject: Re: sed G? Message-ID: <20020423074017.A2763@thud.rochester.rr.com> Mail-Followup-To: Aaron Luz , freebsd-questions@FreeBSD.ORG, "Matthew R. Dietrich" References: <20020421154846.A29729@imsa.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020421154846.A29729@imsa.edu>; from mrd2000@imsa.edu on Sun, Apr 21, 2002 at 03:48:46PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Apr 21, 2002 at 03:48:46PM -0500, Matthew R. Dietrich wrote: > Does anyone understand why "sed G" doesn't doublespace a provided input? It > does under other systems I'm aquanted with. Does BSD sed not set the initial > hold space to a empty line? I'm running a pretty recent stable... It seems to work for me. thud:aaron:0> cal | cat -n | sed G | cat -n 1 1 April 2002 2 3 2 Su Mo Tu We Th Fr Sa 4 5 3 1 2 3 4 5 6 6 7 4 7 8 9 10 11 12 13 8 9 5 14 15 16 17 18 19 20 10 11 6 21 22 23 24 25 26 27 12 13 7 28 29 30 14 15 8 thud:aaron:0> uname -a FreeBSD thud 4.5-STABLE FreeBSD 4.5-STABLE #19: Wed Apr 10 04:45:55 EDT 2002 root@thud:/usr/obj/usr/src/sys/THUD i386 When did you last cvsup and build? Aaron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message