You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For example, * would return no arguments if the working directory were empty, */ if it contained no subdirectories, etc. It would either be a shell option or a separate syntax.
cab115c changes unmatched wildcard behavior to allow the job to continue running. Wildcards used interactively will still print an error, but the job will proceed and the wildcard will expand to zero arguments. Wildcards used inside scripts or functions will not print an error at all. In both cases, the wildcard expansion will set $status to 124, though this will nearly always get subsequently modified by the job itself.
Activity
lilyball commentedon Oct 14, 2014
cab115c changes unmatched wildcard behavior to allow the job to continue running. Wildcards used interactively will still print an error, but the job will proceed and the wildcard will expand to zero arguments. Wildcards used inside scripts or functions will not print an error at all. In both cases, the wildcard expansion will set
$statusto124, though this will nearly always get subsequently modified by the job itself.