In bash, if the working directory has 2 more more .txt files, then
prompt> echo 'echo BEGIN' > test.sh
prompt> echo 'more *.txt' >> test.sh
prompt> echo 'echo END' >> test.sh
prompt> source test.sh
the more command executed via source command will have 'more prompt' enabled,
where 'more prompt' is '--More--...'.
Fluid \more currently will not display 'more prompt' in the above case. In addition, in bash, when 'more prompt' is seen in the above test case, pressing 'q' or 'control-c' only terminates the execution of more command but the execution of source command, i.e. 'echo END' will be executed after 'more prompt' is displayed and 'control-c' is pressed.
This issue is trickier than it was described because (1) the output of \source command can be redirected, (2) \source commands can be executed nestedly (see issue #6581 for more info).
Issue #7705 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build trunk/29624 |
No time estimate |
This issue is trickier than it was described because (1) the output of \source command can be redirected, (2) \source commands can be executed nestedly (see issue #6581 for more info).