4 ms·
Use the source... ;-) % env POSIXLY_CORRECT=1 echo -n -n Also note that if your shell is Bash, then your echo is a built-in: % type echo echo is a
by pyre 15y ago
Use the source... ;-)
% env POSIXLY_CORRECT=1 echo -n
-n
Also note that if your shell is Bash, then your echo is a built-in:
% type echo
echo is a shell builtin
That's why 'env' is necessary.
- bch 15y agoYour Linux is showing ;). kamloops$ uname -s NetBSD kamloops$ echo $0 sh kamloops$ env POSIXLY_CORRECT=1 echo -n kamloops$