NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/51027 CVS commit: src/bin/sh



The following reply was made to PR bin/51027; it has been noted by GNATS.

From: "Christos Zoulas" <christos%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/51027 CVS commit: src/bin/sh
Date: Thu, 31 Mar 2016 12:12:52 -0400

 Module Name:	src
 Committed By:	christos
 Date:		Thu Mar 31 16:12:52 UTC 2016
 
 Modified Files:
 	src/bin/sh: parser.c
 
 Log Message:
 PR bin/51027 - fix the parsing of references to shell parameters
 when given without braces (ie: $2 etc).  Only the first 9 shell
 parameters ($1 .. $9) and the special parameter ($0) can be
 referenced this way, $10 is ${1}0 not ${10}.   Make it so.
 This bug brought to notice by Sven Mascheck's web pages which
 discuss (among other things) the history of this (and other ash
 based) shells .. see http://www.in-ulm.de/~mascheck/ (from kre@)
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.113 -r1.114 src/bin/sh/parser.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index