Date: Mon, 30 Aug 1999 18:44:38 +0100 From: Ben Smithurst <ben@scientia.demon.co.uk> To: Matthew Hunt <mph@astro.caltech.edu> Cc: Mark Murray <mark@grondar.za>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/bin/mkdir mkdir.1 mkdir.c Message-ID: <19990830184438.A40625@lithium.scientia.demon.co.uk> In-Reply-To: <19990830082157.A89944@wopr.caltech.edu> References: <199908300619.IAA27006@gratis.grondar.za> <19990830082157.A89944@wopr.caltech.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Matthew Hunt wrote:
> On Mon, Aug 30, 1999 at 08:19:55AM +0200, Mark Murray wrote:
>
>> $ echo -n `date`
>
> Which is, of course, not quite the same as omitting the newline.
>
> The output of date(1) can contain multiple sequential spaces. After
> being split into arguments, and recombined by echo(1), they'll be
> reduced to one space.
Well, if that bothers you, just do:
$ echo -n "`date`"
which seems to have the desired effect.
--
Ben Smithurst | PGP: 0x99392F7D
ben@scientia.demon.co.uk | key available from keyservers and
| ben+pgp@scientia.demon.co.uk
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990830184438.A40625>
