The printf command offers well-defined behavior following the POSIX standard, which means it works the same way across shells ...
Linuxのベースコマンド群の一つである「GNU Core Utilities(Coreutils)」は、ほかのUNIX系OSではそのシステムが独自に持っているベースコマンドに対応している。ただし、Coreutilsとそれぞれのベースコマンドは、POSIXで規定されている動作についてはほぼ同じだが ...