From cracauer@schlepper.zs64.net  Sat Nov 16 21:00:10 2002
Return-Path: <cracauer@schlepper.zs64.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 8032737B401; Sat, 16 Nov 2002 21:00:10 -0800 (PST)
Received: from schlepper.zs64.net (schlepper.zs64.net [212.12.48.8])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id 455F843E3B; Sat, 16 Nov 2002 21:00:09 -0800 (PST)
	(envelope-from cracauer@schlepper.zs64.net)
Received: (from cracauer@localhost)
	by schlepper.zs64.net (8.11.1/8.11.1) id gAH500r71245;
	Sun, 17 Nov 2002 06:00:00 +0100 (CET)
	(envelope-from cracauer)
Message-Id: <20021117000000.A71228@cons.org>
Date: Sun, 17 Nov 2002 00:00:00 -0500
From: Martin Cracauer <cracauer@cons.org>
To: pw34@cornell.edu
Cc: cracauer@FreeBSD.ORG, FreeBSD-gnats-submit@FreeBSD.ORG
In-Reply-To: <Pine.SOL.3.91.1021116183125.5455A-100000@travelers.mail.cornell.edu>; from pw34@cornell.edu on Sat, Nov 16, 2002 at 07:21:47PM -0500
Subject: Re: /bin/sh and 8-bit characters
References: <Pine.SOL.3.91.1021116183125.5455A-100000@travelers.mail.cornell.edu>

>Number:         45361
>Category:       bin
>Synopsis:       Re: /bin/sh and 8-bit characters
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 16 21:10:01 PST 2002
>Closed-Date:    Tue Nov 19 16:51:03 PST 2002
>Last-Modified:  Tue Nov 19 16:51:03 PST 2002
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 Sorry to say but I don't plan on working on 8-bit clean issues for the
 shell. 
 
 Martin
 
 pw34@cornell.edu wrote on Sat, Nov 16, 2002 at 07:21:47PM -0500: 
 > On my FreeBSD 4.5 system, I found that /bin/sh incorrectly parses the 
 > characters 129 and 136 (decimal).
 > 
 > I was wondering if this has been fixed, I saw no mention of it in any
 > release notes, and the bug list on freebsd.org wasn't really clear on
 > this ( http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/28449 ).
 > 
 > Here is some perl which finds which chars fail to work right.
 > 
 > #!/usr/bin/perl -w
 > # test_sh.pl , pete weisz
 > mkdir "garbage_XXXX", 0777;
 > chdir "garbage_XXXX";
 > for $x (128..255) {
 >    $c = chr($x);
 >    system("echo blah > \"./$c\"");   # calls /bin/sh
 >    unless (-e $c) {
 >       print "$x did not work\n";
 >       next;
 >    }
 >    unlink $c;
 > }
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: keramida 
State-Changed-When: Tue Nov 19 16:42:22 PST 2002 
State-Changed-Why:  
Not really worth adding to the audit trail of bin/45349. 


Responsible-Changed-From-To: gnats-admin->freebsd-bugs 
Responsible-Changed-By: keramida 
Responsible-Changed-When: Tue Nov 19 16:42:22 PST 2002 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=45361 
>Unformatted:
