delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/10/15/12:59:03

From: sancho AT kosnet DOT ru (Alexander V. Sulima)
Subject: beginner: cat.exe and more...
15 Oct 1998 12:59:03 -0700 :
Message-ID: <3624FCE2.A4282333.cygnus.gnu-win32@kosnet.ru>
Reply-To: sancho AT kosnet DOT ru
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

HI All!

This is my first message on this list.
And probably such question was already discussed, excuse if that.
Also excuse for bad English.

I try to build under Window NT the project from linux. I use b19+egcc1.1
In one of Makefile of this project there are such lines:
          ....
	echo "text string" > RESULT_FILE
        cat BINARY_FILE >> RESULT_FILE
          ....
It (cat BINARY_FILE > SOME_FILE) works on linux, but not in Windows...
The "cat" program for some reason perceives some symbols:
#cat BINARY_FILE
LGot 1
JS   ¦      Got 2
~Got 21
Got 1
H>Got 2
= Got 2
             Got 19
   Got 1
Got 14
Bad escape 53 (5)
   Got 2
¦¦^  Got 23
  Got 14
#E   Got 30
Got 23
   ' Got 19
   Got 1
Got 14
Bad escape 53 (5)
....

And at last, the result of the command "cat BINARY_FILE > SOME_FILE"
 - SOME_FILE turns out of smaller length. Unless it is correct?

And still wanted to take an interest, whether there is for cygwin32
a pthreads library(posix threads)?

--
WBR,
/sancho
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019