See:
$ sleep 20
^Z
[1]+ Stopped sleep 20
$
$ auto_resume= sleep
sleep: missing operand
Try 'sleep --help' for more information.
$
$ echo $(auto_resume= sleep)
bash: fg: no current jobs
$
`auto_resume= sleep' has the same effect as `aut
On Aug 16, 2020, at 12:21 PM, Eric Blake wrote:
> I see nothing in your report about bash disobeying POSIX, but rather
> confusion on your part about what POSIX actually requires.
I didn't say it violated POSIX. My expectations were set by the Bash Manual,
which describes the behavior I'm expe
On 8/16/20 11:20 AM, Eli Schwartz wrote:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html
echo does not accept options, and is not permitted to accept options
including "--".
bash does accept -n, -e, -E in violation of POSIX, unless shopt -s shopt
-s xpg_echo is set, but it
On 8/16/20 12:21 PM, Eric Blake wrote:
> On 8/16/20 10:47 AM, Todd A. Jacobs wrote:
>
>> Description:
>> The echo builtin accepts options, but does not seem to handle
>> `--` correctly as the end of options.
>
> The correct behavior for echo is described here:
> https://pubs.ope
Hello Todd,
Eric Cook wrote:
> This is an intentional relic of the past, you really should use printf.
See
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html#tag_20_37_18
BTW/1:
Because of this /bin/echo behaves the same way in most Linux distribution.
BTW/2:
echo -n -n$'
On 8/16/20 11:47 AM, Todd A. Jacobs wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: x86_64
> OS: darwin19.5.0
> Compiler: clang
> Compilation CFLAGS: -DSSH_SOURCE_BASHRC -Wno-parentheses -Wno-format-security
> uname output: Darwin titan.local 19.6.0 Darwin Ke
On 8/16/20 10:47 AM, Todd A. Jacobs wrote:
Description:
The echo builtin accepts options, but does not seem to handle
`--` correctly as the end of options.
The correct behavior for echo is described here:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html
"T
On 8/16/20 11:47 AM, Todd A. Jacobs wrote:
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: darwin19.5.0
Compiler: clang
Compilation CFLAGS: -DSSH_SOURCE_BASHRC -Wno-parentheses -Wno-format-security
uname output: Darwin titan.local 19.6.0 Darwin Kernel Versi
Configuration Information [Automatically generated, do not change]:
Machine: x86_64
OS: darwin19.5.0
Compiler: clang
Compilation CFLAGS: -DSSH_SOURCE_BASHRC -Wno-parentheses -Wno-format-security
uname output: Darwin titan.local 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun
18 20:49:00 PDT 2020; roo