Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!david
From: david@utzoo.UUCP (David Trueman)
Newsgroups: hacknews
Subject: new sh(1) with bug fix for filename matching
Message-ID: <4443@utzoo.UUCP>
Date: Thu, 11-Oct-84 15:02:33 EDT
Article-I.D.: utzoo.4443
Posted: Thu Oct 11 15:02:33 1984
Date-Received: Thu, 11-Oct-84 15:02:33 EDT
Organization: U of Toronto Zoology
Lines: 10

The current shell (and all earlier versions) had a bug in the filename
matching logic.  A dash in a character class (inside square brackets) was
interpreted as indicating a range of characters, even if it occured just
after the opening bracket or before the closing bracket.

This has now been fixed so that a dash at the beginning or end of a character
class is taken literally.
-- 
				David Trueman @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!david