Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!
Credits 1,039 Posts 897 Joined 2009-03-01 15:34 17-year member UID 140302 Gender Male From 在地狱中仰望天堂
Status Offline
As titled: how can I make the file output by echo A>A.txt be 1 byte?
The file output by echo A>A.txt is 3 bytes
The file output by echo 1 >A.txt is 4 bytes
The file output by echo 2 >A.txt is 4 bytes
Every file output by echo appends carriage return and line feed, and outputting 1 or 2 into the text even makes it 4 bytes. How can I make the text output this way be only 1 byte?
[ Last edited by Hanyeguxing on 2009-6-5 at 06:58 ]