From owner-freebsd-hackers@FreeBSD.ORG Fri Apr 9 16:50:38 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 293F716A4CE for ; Fri, 9 Apr 2004 16:50:38 -0700 (PDT) Received: from smtp.dkm.cz (smtp.dkm.cz [62.24.64.34]) by mx1.FreeBSD.org (Postfix) with SMTP id BA24E43D1F for ; Fri, 9 Apr 2004 16:50:36 -0700 (PDT) (envelope-from neuhauser@chello.cz) Received: (qmail 60953 invoked by uid 0); 9 Apr 2004 23:50:35 -0000 Received: from r3al16.mistral.cz (HELO isis.wad.cz) (213.220.229.16) by smtp.dkm.cz with SMTP; 9 Apr 2004 23:50:35 -0000 Received: by isis.wad.cz (Postfix, from userid 1001) id 7D6F32FDA01; Sat, 10 Apr 2004 00:51:07 +0200 (CEST) Date: Sat, 10 Apr 2004 00:51:06 +0200 From: Roman Neuhauser To: freebsd-hackers Message-ID: <20040409225106.GB6183@isis.wad.cz> Mail-Followup-To: freebsd-hackers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.6i Subject: /bin/sh bug? munges here-doc eof markers X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Apr 2004 23:50:38 -0000 Why does /bin/sh insert 0x81, or 129, or SYNBASE, before every non-word character in here-doc delimiters? It grows 'END-of-vietnamese/x-unikey/files/patch-src::unikey-gtk::Makefile.am' which is 69 characters, well below EOFMARKLEN (79) to 80 characters. Should I file a PR? roman@isis ~/tmp 1048:0 > sh shar 2>&1 >&- |head -1|hd -c 00000000 37 39 3a 20 88 45 4e 44 81 2d 6f 66 81 2d 76 69 |79: .END.-of.-vi| 0000000 7 9 : 210 E N D 201 - o f 201 - v i 00000010 65 74 6e 61 6d 65 73 65 81 2f 78 81 2d 75 6e 69 |etnamese./x.-uni| 0000010 e t n a m e s e 201 / x 201 - u n i 00000020 6b 65 79 81 2f 66 69 6c 65 73 81 2f 70 61 74 63 |key./files./patc| 0000020 k e y 201 / f i l e s 201 / p a t c 00000030 68 81 2d 73 72 63 81 3a 81 3a 75 6e 69 6b 65 79 |h.-src.:.:unikey| 0000030 h 201 - s r c 201 : 201 : u n i k e y 00000040 81 2d 67 74 6b 81 3a 81 3a 4d 61 6b 65 66 69 6c |.-gtk.:.:Makefil| 0000040 201 - g t k 201 : 201 : M a k e f i l 00000050 65 2e 61 6d 0a |e.am.| 0000050 e . a m \n 0000055 -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html