prince_jammys 1216930704 learn ASCII zero, the null byte, aka 'NUL' is the best delimiter for lists of strings (eg. file names). However, there isn't much you can do with it in portable scripts. Bash can read null-byte delimited input with "while IFS= read -d ''; do ... ". Bash cannot, however, store or pass a null byte as parameter. To get Bash to output a NUL, you can use echo -e '\0', NOT echo $'\0'. tr(1) can process NULs portably, though prince_jammys 1216930717 forget prince_jammys 1216931860 learn ASCII zero, the null byte, aka 'NUL' is the best delimiter for lists of strings (eg. file names). However, there isn't much you can do with it in portable scripts. Bash can read null-byte delimited input with "while IFS= read -d ''; do ... ". Bash cannot store or pass a null byte as parameter. *Unportable* versions of the following utilities can work with NULs: find, sort, xargs, and sed.