Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 1996 01:30:03 -0700 (PDT)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-bugs
Subject:   Re: bin/1248: shell having problem parsing arguments
Message-ID:  <199605250830.BAA17572@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/1248; it has been noted by GNATS.

From: J Wunsch <j@uriah.heep.sax.de>
To: fredriks@mcs.com
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: bin/1248: shell having problem parsing arguments
Date: Sat, 25 May 1996 10:13:05 +0200 (MET DST)

 As fredriks@mcs.com wrote:
 
 > 	/bin/sh has a couple of bugs when dealing with arguments past
 > 	argument #9. First off you get a syntax error when it tries
 > 	to parse ${11}, enclosed is fix for the parser. The second 
 
 > Index: parser.c
 > ===================================================================
 > RCS file: /home/ncvs/src/bin/sh/parser.c,v
 > retrieving revision 1.11
 > diff -r1.11 parser.c
 > 1111,1112c1111,1120
 > < 			USTPUTC(c, out);
 > < 			c = pgetc();
 > ---
 > > 			
 > > 			if (is_digit(c)) {
 > > 				do {
 
 Aw!  Can you please re-submit this as a context (or uni) diff?
 (The -c or -u flags to [cvs] diff.)  It's nearly impossible to
 integrate plain diffs.
 
 You can simply followup to this thread, GNATS will append it then to
 the PR.
 
 -- 
 cheers, J"org
 
 joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
 Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605250830.BAA17572>