Date: Tue, 23 Apr 2002 07:40:18 -0400 From: Aaron Luz <aaron@csh.rit.edu> To: freebsd-questions@FreeBSD.ORG Cc: "Matthew R. Dietrich" <mrd2000@imsa.edu> Subject: Re: sed G? Message-ID: <20020423074017.A2763@thud.rochester.rr.com> In-Reply-To: <20020421154846.A29729@imsa.edu>; from mrd2000@imsa.edu on Sun, Apr 21, 2002 at 03:48:46PM -0500 References: <20020421154846.A29729@imsa.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020423074017.A2763>
