Re: Bikeshedding advice on the ab/i18n-scripts series

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

 



Ãvar ArnfjÃrà Bjarmason <avarab@xxxxxxxxx> writes:

> Oh, and for all the convertion of:
>
>     echo >&2 "$(gettext "foobar")"
>
> I've already done:
>
>     (
>         gettext "foobar" &&
>         echo
>     ) >&2

Sorry, but what problem are you trying to solve?  The output from

    $ gettext "foobar"

may have 0, 1 or more LF at the end, but wouldn't 

    echo >&2 "$(gettext "foobar")"

terminate with a single LF in any case?

Ahh, perhaps I was the one who said something stupid like:

	echo >&2 "$(cmd)"

should be equivalent to

	cmd >&2

which is not the case when output from cmd does not end with a single LF
(i.e. either an incomplete line, or with trailing blank lines).

Sorry, if that is what you are trying to address, please let me take that
back.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]