From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike McCarty Subject: Re: piping escape into dosemu Date: Mon, 08 Mar 2010 02:29:59 -0600 Message-ID: <4B94B587.4030905@sbcglobal.net> References: <4B918324.6000308@sbcglobal.net> <4B94B24E.4070804@sbcglobal.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4B94B24E.4070804@sbcglobal.net> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: FreeDOS Mike McCarty wrote: > Please consider these results: > > $ echo -n "033" | wc > 0 1 3 > $ echo -n "\033" | wc > 0 1 4 > $ echo -ne "\033" | wc > 0 0 1 > > The first example passes three characters as output. They > are '0', '3', and '3'. > The second example passes four characters as output. They > are BACKSLASH, '0', '3', and '0'. I can't believe that typo! I'm so sorry. The characters are BACKSLASH, '0', '3', and '3'. So sorry for any confusion. Mike -- p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} Oppose globalization and One World Governments like the UN. This message made from 100% recycled bits. You have found the bank of Larn. I speak only for myself, and I am unanimous in that!