Merge pull request #1383 from xexyl/schnitzi98-fix

This commit is contained in:
Landon Curt Noll authored and GitHub committed 2023-11-11 14:50:22 -07:00
commit 264f272c68
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ void d (){ O=g; *r=y[k]; _=r; k=k+1; m=k<z; w=_t; l=p_; j=p; }
void y_(){ O=g; *r=x[17][1]+k; _=r; j=q_; }
void r_(){ O=_b; _=x[17]; s=(char**)_d; s=s+1; i=*s; q=0; }
main(int v,char **V){
((V[1]&&((atoi(V[1])>0&&atoi(V[1])<27)||(exit(1),1))));
((V[1]&&((atoi(V[1])>0&&atoi(V[1])<27))||(exit(1),1)));
q=0; O=r_; _d=V;
x: (O)(); goto x; }
+1
View File
@@ -65,3 +65,4 @@ echo 1>&2
echo "Using stdin/stdout:" 1>&2
echo "$ echo 5 10 7 9 1 | ./sort" 1>&2
echo "5 10 7 9 1" | ./sort
echo 1>&2
+1 -1
View File
@@ -2067,7 +2067,7 @@ doesn't crash. At this point since the author stated it has no `while`,
doing:
```c
((V[1]&&((atoi(V[1])>0&&atoi(V[1])<27)||(exit(1),1))));
((V[1]&&((atoi(V[1])>0&&atoi(V[1])<27))||(exit(1),1)));
```
Cody also added the [try.sh](1998/schnitzi/try.sh) script to help users try the