MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

[gbacon@oreo.aspire.cs.uah.edu: bug in #57:@shutdown?]



------- Start of forwarded message -------
Return-Path: nop@ccs.neu.edu
From: Greg Bacon <gbacon@oreo.aspire.cs.uah.edu>
Subject: bug in #57:@shutdown?
To: moo-cows@parc.xerox.com
Date: Sun, 9 Mar 1997 19:40:28 PST
Reply-To: gbacon@pluto.cs.uah.edu (Greg Bacon)
X-Mailer: ELM [version 2.4 PL24]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Sender: MOO-Cows-Errors@parc.xerox.com
Precedence: bulk
Resent-From: clue-cows <nop@nop.com>
Errors-To: clue-cows <nop@nop.com>


It seems that line 8 in #57:@shutdown

    if (s = match(argstr, "^in +%([0-9]+%) +"))

has a bug.  Is there any reason for the requirement of trailing
whitespace, i.e. having to type "@shutdown in 3 " (note the trailing
whitespace) for the command to work?  If not, line 8 should read

    if (s = match(argstr, "^in +%([0-9]+%)"))

Greg
- -- 
Greg Bacon <gbacon@cs.uah.edu>
Unix / Perl Consultant
Perl Institute Partner - http://www.perl.org/
------- End of forwarded message -------


Home | Subject Index | Thread Index