Bash command that prints a message on stderr
Posted
by Salman A
on Stack Overflow
See other posts from Stack Overflow
or by Salman A
Published on 2010-04-15T06:27:37Z
Indexed on
2010/04/15
6:33 UTC
Read the original article
Hit count: 182
I want to know if there is a built-in BASH command that prints some text on stderr, just like the echo
command that prints text on stdout. I don't want to use temporary io-redirection. I use a built-in command to generate an error on stderr such as ls --asdf
(ls: unrecognized option '--asdf') but I want something neater,
© Stack Overflow or respective owner