gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] [PATCH 1/2] Fixes echo nonportability in regress-driver.


From: Greg Troxel
Subject: Re: [gpsd-dev] [PATCH 1/2] Fixes echo nonportability in regress-driver.
Date: Mon, 22 Feb 2016 20:14:21 -0500
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (berkeley-unix)

Fred Wright <address@hidden> writes:

> This change eliminates the -n by constructing the elapsed time message
> as a single line (since there's no fully portable way to suppress the
> newline after an echo).

That's correct, because POSIX does not specify -n, although OS X is the
only place I know where it's missing.  The portable way if necessary is
printf(1).  But avoidance of complexity is a great strategy (really, not
being snide).

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]