Thanks for the fix!
+Shaoyi Peng +端端
On Tue, May 28, 2019, 6:07 PM Chet Ramey wrote:
> On 5/23/19 5:11 PM, Hengyang Zhao wrote:
> > Awesome! Could you please cc the fix to this thread once it's done?
> Thank you!
>
> It's in the devel branch. I've attache
Awesome! Could you please cc the fix to this thread once it's done? Thank
you!
Hengyang
On Wed, May 22, 2019, 7:27 AM Chet Ramey wrote:
> On 5/21/19 12:51 AM, Hengyang Zhao wrote:
> > Dear bash developers,
> >
> > I found an unexpected behavior when engineering so
I missed a segment of my config when copy-pasting:
Bash Version: 5.0
Patch Level: 7
Release Status: release
On Mon, May 20, 2019 at 9:57 PM Hengyang Zhao wrote:
> +speng...@ucr.edu +yunduan@gmail.com
>
> On Mon, May 20, 2019 at 9:51 PM Hengyang Zhao
> wrote:
>
>>
+speng...@ucr.edu +yunduan@gmail.com
On Mon, May 20, 2019 at 9:51 PM Hengyang Zhao wrote:
> Dear bash developers,
>
> I found an unexpected behavior when engineering some code in a callback of
> DEBUG trap. The code has been distilled to expose this behavior:
>
> #
Dear bash developers,
I found an unexpected behavior when engineering some code in a callback of
DEBUG trap. The code has been distilled to expose this behavior:
### BEGIN
my_func() {
local x=$(:)
}
trap my_func DEBUG
false | true | false | true | false
echo ${PIPESTATUS[@]}
# expects 1 0 1 0 1
ot;builtin" help
> > info?
>
> The code that makes bash behave differently when "jobs" is one of the
> commands in a pipeline/subshell is kind of a hack. It's probably not
> extremely well known outside of this mailing list, but I suspect many
> people have used
detailed reply! It helps me a lot :-)
Sincerely,
Hengyang
On Tue, Mar 21, 2017 at 8:13 AM Chet Ramey wrote:
> On 3/20/17 7:47 PM, Hengyang Zhao wrote:
> > Hello,
> >
> > I am experiencing an unexpected behavior when using "builtin jobs -l". It
> > seems tha
opped cat
bash-4.3$ jobs -l | wc
1 4 39
bash-4.3$ builtin jobs -l | wc
0 0 0
bash-4.3$ type jobs
jobs is a shell builtin
bash-4.3$ type -a jobs
jobs is a shell builtin
jobs is /usr/bin/jobs
jobs is /bin/jobs
bash-4.3$
Thank you!
Sincerely,
He