-
Bug
-
Resolution: Won't Do
-
Normal
-
None
-
rhel-8.6.0
-
None
-
Moderate
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
If docs needed, set a value
-
-
All
-
None
Simple reproducer:
$ echo "echo foobar" | bash -t
should output:
foobar
But instead it produces no output. Several experiments with options like '-e', '-x' and '-v' were done.
First guess, but untested is that replacing eval.c:reader_loop() block:
if (just_one_command)
EOF_Reached = EOF;
with:
if (just_one_command)
{ rl_forced_update_display (); EOF_Reached = EOF; }might correct the issue.
Diff with bash-5, where it works, shows a call to 'reset_readahead_token ();'
but this does not exist in bash-4. This should not be the cause also.
- account is impacted by
-
RHEL-5662 `bash -t` does not work on RHEL8.
- Closed
- external trackers