Quote:
Originally Posted by BudiKusasi
Is it possible to have the bash read command's first few characters is fed into buffer by way of script code / CLI instead of interactive stdin?
|
Generally that is done by redirection (bash <script_file)... or directing bash to read a script (bash script_file).
You can also do it via a pipe from some other script/application (something | bash ...).