bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] POSIX mode "system" returing invalid exit status


From: Eli Zaretskii
Subject: Re: [bug-gawk] POSIX mode "system" returing invalid exit status
Date: Fri, 23 Mar 2018 15:34:06 +0300

> From: Steven Penny <address@hidden>
> Date: Fri, 23 Mar 2018 06:39:27 -0500
> Cc: address@hidden
> 
>     $ ./cygwin
>     Usage: grep [OPTION]... PATTERN [FILE]...
>     Try 'grep --help' for more information.
>     512
> 
>     $ ./mingw32
>     Usage: grep [OPTION]... PATTERN [FILE]...
>     Try 'grep --help' for more information.
>     2

MinGW is not a Posix-compliant environment, so the structure of its
exit code is different from what you see on Posix platforms (including
Cygwin).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]