Search Results

Search: Posts Made By: derekludwig
5,788
Posted By derekludwig
Your script is working as expected: Stdin is...
Your script is working as expected:

Stdin is not a terminal, so there is no prompt.
Nothing (ok, eof) was read from stdin, so input was set to the empty string.
5,788
Posted By derekludwig
From the test manpage: -t FD file descriptor...
From the test manpage:
-t FD
file descriptor FD is opened on a terminal
File descriptor 0 is stdin.
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 08:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy