[TUHS] Seeking wisdom from Unix Greybeards

Ralph Corderoy ralph at inputplus.co.uk
Thu Nov 26 03:22:55 AEST 2020


Hi Grant,

> wondering if there is a better way to generate the output from
> the code in a way that respects TERMinal capabilites.

    tput setf 4; date; tput sgr0

See terminfo(5).

(BTW, I don't think the question is worthy of TUHS.)

-- 
Cheers, Ralph.


More information about the TUHS mailing list