#!/bin/sh echo -ne 'Foo:\tBar'
Rewrite in terms of the more robust and standardized printf:
printf
#!/bin/sh printf 'Foo:\tBar'
echo has historically behaved differently on different systems. Use printf instead to ensure compatibility between shells.
echo
If you only intend to target shells that supports this feature, you can change the shebang to a shell that guarantees support, or ignore this warning.
You can use # shellcheck disable=SC3000-SC4000 to ignore all such compatibility warnings.
# shellcheck disable=SC3000-SC4000
There was an error while loading. Please reload this page.