Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Oct 1997 21:19:09 +1000 (EST)
From:      "Daniel O'Callaghan" <danny@panda.hilink.com.au>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@FreeBSD.ORG, cvs-bin@FreeBSD.ORG, cvs-committers@FreeBSD.ORG
Subject:   Re: cvs commit: src/bin/date date.1 date.c
Message-ID:  <Pine.BSF.3.91.971001211555.262r-100000@panda.hilink.com.au>
In-Reply-To: <199710010915.TAA02502@godzilla.zeta.org.au>

index | next in thread | previous in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.971001211555.262r-100000>