weird behaviour of shell commands
Cyril Rutkowski
crutko@gmail.com
Wed Oct 24 16:07:00 GMT 2007
Hi,
When executing chev.sh (a bad performance script that allows me to
reverse lines of a text file), the result (chev2.txt) should have a size
of 1565 bytes, that is the same size as chev.txt.
The problem is it won't. Weirder, the result gives random sizes
everytime (sometimes 1563, 1559 etc.).
I don't understand what happens at all.
Files : versions*.jpg : versions of all installed cygwin packages
chev.sh : the shell script that gives the wrong result
chev.txt : the file text needed for chev.sh to work
Regards,
C.Rutkowski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: versions3.jpg
Type: image/jpeg
Size: 52439 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20071024/3ac2d3f8/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: versions1.jpg
Type: image/jpeg
Size: 167004 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20071024/3ac2d3f8/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: versions2.jpg
Type: image/jpeg
Size: 164822 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20071024/3ac2d3f8/attachment-0002.jpg>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: chev.txt
URL: <http://cygwin.com/pipermail/cygwin/attachments/20071024/3ac2d3f8/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: chev.sh
URL: <http://cygwin.com/pipermail/cygwin/attachments/20071024/3ac2d3f8/attachment.ksh>
-------------- next part --------------
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list