coreutils
[Top][All Lists]
Advanced

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

Re: Command arguments of echo


From: Eric Blake
Subject: Re: Command arguments of echo
Date: Sat, 16 Jul 2016 08:33:26 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 07/16/2016 08:09 AM, al so wrote:
> How about add support "-u" command line argument?

That does what? Without an explanation of what you want it to do, the
answer is an unequivocal no.  And even if you did say what it should do,
the answer is still probably no - 'echo' is rather strictly defined by
POSIX to not take arguments because of back-compat reasons, so adding
new arguments makes it tricky to still comply with POSIX.  You'd have to
have a REALLY strong argument for why your new option is worthwhile, and
why it won't break existing scripts that use 'echo -u' and expect a
literal '-u' to be output, based on POSIX rules.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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