mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
Teach lash to get $1 $2 $3 etc correct
-Erik
This commit is contained in:
parent
5703341123
commit
7ab93d9980
@ -890,7 +890,7 @@ static int expand_arguments(char *command)
|
||||
case '0':case '1':case '2':case '3':case '4':
|
||||
case '5':case '6':case '7':case '8':case '9':
|
||||
{
|
||||
int ixx=*(dst + 1)-48;
|
||||
int ixx=*(dst+1)-48+1;
|
||||
if (ixx >= argc) {
|
||||
var='\0';
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user