-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Monday 2008-02-18 at 00:26 +0100, Anders Johansson wrote:
On Monday 18 February 2008 00:06:22 Carlos E. R. wrote:
I myself used this trick for my data files to be read by my programs in pascal (msdos). I wrote at the beginning of the file a small string describing the type of file and the program that used it, followed by the EOF char, and then the real binary data. When you run "type datafile" it printed that line(s) and stopped, without corrupting the screen.
Well, what do you know, DOS really did use a standard ascii character as EOF (ctrl-Z, ascii 26)
Well, all I can say is that it's not true for linux/unix, and it's yet another reason why dos sucked
For that reason? Common! I could say that *nix sucks because it does not use the standard CR-LF end of line sequence. :-P It's just a reason as absurd as your's. Having a text EOF char is quite useful, just different of what you are used to. If you are going that dos sucks, say valid reasons, which there are a lot. But a different text encoding is not one. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn0 (GNU/Linux) iD8DBQFHuNGwtTMYHG2NR9URAlUGAJ9pANeIZ3egA0J5C1Xull0rN+AcdQCeLObb sWxA4NtiKxw3lHRLhjNb/dM= =lE/r -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org