I'ld like to hide ugly data from being shown by command line tools like
cat (and maybe simple text editors too) which often get confused by binary data. For example a VT100 terminal sometimes gets misconfigured by binary outputs.
<?php // PHP code shown by text tools on the command line __halt_compiler(); // here some fake EOF mark for simple text processing tools // hidden ugly data
Can end of file be spoofed to simple stream-based text viewer tools, especially to the linux command line tools (but maybe also to some windows tools)?
I am looking for a solution from within the mixed text/binary file, so that other people using
cat or similar do not get trash on their screen.