← Commit list

7ab93d998

Eric Andersen
Eric Andersen
2002-11-08
FAILED Duration: 7s

Subject

Teach lash to get $1 $2 $3 etc correct -Erik

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

shell/lash.c+1 -1
@@ -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 {