On Fri, Oct 11, 2013 at 11:40 PM, Richard Hansen <[email protected]> wrote:
> On 2013-10-11 22:08, Felipe Contreras wrote:
>> I'm fine with 'echo "warning: foo" >&2', but still, if you really
>> cared about consistency, there would be a warn() function
>
> So add one! It's only one simple line:
>
> warning() { printf %s\\n "warning: $*" >&2; }
It probably should be
warning () {
printf 'warning: %s\n' "$*" >&2
}
But why don't _you_ do it? I have enough patches being ignored to add
more to the list, specially for something I care nothing about.
> So much discussion for something so trivial...
Trivial things are what cause more discussion.
--
Felipe Contreras
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html