This repository was archived by the owner on Jan 5, 2025. It is now read-only.
Commit 238d47b
committed
Improve handling of interface waiting with single argument
The previous code wasn't using $# to count the number of arguments, which
triggered the interface waiting code for any number of arguments.
The interface waiting code is not run if the single parameter is the name
of a file found in $PATH.
Minor code cleanup.1 parent 94b2a3c commit 238d47b
1 file changed
+16
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
| |||
19 | 26 | | |
20 | 27 | | |
21 | 28 | | |
22 | | - | |
23 | | - | |
24 | 29 | | |
25 | 30 | | |
26 | 31 | | |
| |||
0 commit comments