Binary files aren't likely to be LF-terminated, so <...> isn't likely to be appropriate.
As always, that depends. It is likely to be appropriate if the file isn't too big and read in slurp mode.
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
In reply to Re^3: how to convert numbers to ASCII characters
by shmem
in thread how to convert numbers to ASCII characters
by redss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |