Re: ulimit -R missing; --help is out of sync

2020-12-18 Thread Chet Ramey
On 12/17/20 5:26 PM, Denys Vlasenko wrote: According to the source, -R should be setting RLIMIT_RTTIME, but it does not work: bash-5.0$ ulimit -R bash: ulimit: -R: invalid option ulimit: usage: ulimit [-SHabcdefiklmnpqrstuvxPT] [limit] There isn't a system out there (well, maybe recent Linux k

Re: lastpipe doesn't lastpipe when stdin (fd 0) is closed

2020-12-18 Thread Chet Ramey
On 12/16/20 2:28 PM, Tomas Janousek wrote: Hi, bash-5.1 (and judging from git blame, all versions that ever supported lastpipe, so 4.2+) fails to honor lastpipe when run without fd 0: Thanks for the report. The issue seems to be that execute_cmd.c:execute_pipeline insists on saving/restorin