read -rsn1 usage in bash script
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I have written a script that is to display content in a directory, take user input, and then write the path to a .txt file based on the user input. The code is to wait for user input before displaying the next image. I am currently using
read -rsn1
but it seems to be skipping over this part of the code. The script is in bash and being ran in the terminal. Any ideas what I may be doing incorrectly? Thanks!
bash read
New contributor
add a comment |Â
up vote
0
down vote
favorite
I have written a script that is to display content in a directory, take user input, and then write the path to a .txt file based on the user input. The code is to wait for user input before displaying the next image. I am currently using
read -rsn1
but it seems to be skipping over this part of the code. The script is in bash and being ran in the terminal. Any ideas what I may be doing incorrectly? Thanks!
bash read
New contributor
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I have written a script that is to display content in a directory, take user input, and then write the path to a .txt file based on the user input. The code is to wait for user input before displaying the next image. I am currently using
read -rsn1
but it seems to be skipping over this part of the code. The script is in bash and being ran in the terminal. Any ideas what I may be doing incorrectly? Thanks!
bash read
New contributor
I have written a script that is to display content in a directory, take user input, and then write the path to a .txt file based on the user input. The code is to wait for user input before displaying the next image. I am currently using
read -rsn1
but it seems to be skipping over this part of the code. The script is in bash and being ran in the terminal. Any ideas what I may be doing incorrectly? Thanks!
bash read
bash read
New contributor
New contributor
New contributor
asked 9 mins ago
JediYaddle
1
1
New contributor
New contributor
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
JediYaddle is a new contributor. Be nice, and check out our Code of Conduct.
JediYaddle is a new contributor. Be nice, and check out our Code of Conduct.
JediYaddle is a new contributor. Be nice, and check out our Code of Conduct.
JediYaddle is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f478356%2fread-rsn1-usage-in-bash-script%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password