From owner-cvs-bin Wed Oct 1 04:20:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id EAA07015 for cvs-bin-outgoing; Wed, 1 Oct 1997 04:20:00 -0700 (PDT) Received: from panda.hilink.com.au (panda.hilink.com.au [203.8.15.25]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id EAA06929; Wed, 1 Oct 1997 04:19:23 -0700 (PDT) Received: (from danny@localhost) by panda.hilink.com.au (8.8.5/8.8.5) id VAA18037; Wed, 1 Oct 1997 21:19:10 +1000 (EST) Date: Wed, 1 Oct 1997 21:19:09 +1000 (EST) From: "Daniel O'Callaghan" To: Bruce Evans cc: cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG, cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/bin/date date.1 date.c In-Reply-To: <199710010915.TAA02502@godzilla.zeta.org.au> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-bin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Wed, 1 Oct 1997, Bruce Evans wrote: > >danny 1997/09/30 22:24:09 PDT > > > > Modified files: > > bin/date date.1 date.c > > Log: > > Add the ability to supress the '\n' at the end of the date printed. > > Why not just use echo -n "`date`"? Well, I'll confess I didn't think of doing that. date | sed {something} would probably work, too, but it just seemed nicer to ask date to not print the '\n' in the first place. Danny