Web lists-archives.com

Re: textmode for stdout, what is "correct" now?




Greetings, Michael Haubenwallner!

>>
>> For scripting, d2u should help.

> Plus, to be portable: type d2u >/dev/null 2>&1 || d2u() { cat; }

_d2u="$( which d2u 2> /dev/null || echo cat )"

if you want to be THAT nice.

> So, firsthand I do prefer to avoid that need.

+1


-- 
With best regards,
Andrey Repin
Friday, February 15, 2019 15:41:48

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple