[Top][All Lists]

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

Re: [Dragora-users] Qi: warn function and echo

From: Matías Fonzo
Subject: Re: [Dragora-users] Qi: warn function and echo
Date: Fri, 05 Aug 2022 21:18:53 -0300
User-agent: Roundcube Webmail/1.5.2

El 2022-08-04 01:32, DustDFG escribió:

Some parts of qi uses the 'echo' but some parts uses 'warn' function.
It looks like all the parts must use 'warn'  instrad of echo but I am
not sure...

A reading of the code reveals that the warn() function is composed of printf, redirecting the standard output message(s) to stderr. While the flat use of echo, sends the messages to the standard output, avoiding invoking the warn() function which represents another level of call.

reply via email to

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