Mail Archives: djgpp/2000/01/27/12:08:33
Elsolo K. DelaRed <Elsolo AT usa DOT net> wrote:
> This is a multi-part message in MIME format.
> --------------E207A82F8D0D923471D68B0F
> Content-Type: multipart/alternative;
> boundary="------------6EB8E5EAD5AC336ACF682A4A"
Please, don't do that. Switch off that silly 'post both HTML and plain
text' option in your Newsreader/Mailer. It's a nuisance to read, and a
waste of bandwidth. HTML has no right to live, in Usenet. And maybe
switch off that 'vcard', too, while you're at it.
[...]
> ECHO We judge others with the ru > doc1.txt
> ECHO le of ourselves. > doc2.txt
> COPY doc1.txt /a + doc2.txt /a doc3.txt
> My final result in 'doc3.txt' is always the
> same, the two separated lines:
> We judge others with the ru
> le of ourselves.
[But you want a single line]
Your problem is that 'doc1.txt' contains, as its very last character,
a 'newline', like every proper text file on DOS or Unix is supposed
to.
For what you're trying to do, that terminating newline character would
have to be deleted, and then the files be concatenated in 'binary'
mode, probably, to avoid it getting added back in, automatically.
Well, that's actually rather hard to do, and it's definitely not
possible with DOS commands, alone. Even the unix-style utilities
(textutils, sh-utils and stuff) may not cut it, for this strange case.
One question: are the single files always one-liners, or can they both
contain more than one line of text? If the former, it'll be a whole
lot easier to pull that trick...
--
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.
- Raw text -