mirror of
https://github.com/A2osX/A2osX.git
synced 2024-11-19 12:31:56 +00:00
25 lines
703 B
Plaintext
25 lines
703 B
Plaintext
NEW
|
||
PREFIX
|
||
AUTO 4,1
|
||
#!/BIN/SH
|
||
ECHO "\f Read Tests\n"
|
||
ECHO "Current Value of TVar is ${TVar}"
|
||
ECHO "\nRead -P Prompt Test\n"
|
||
READ -P "Enter your name: " TVar
|
||
Echo "\nNew TVar is ${TVar}\n"
|
||
Echo "Read -S Supress Echo/Password Input Test\n"
|
||
READ -S -P "Enter Password: " TVar
|
||
Echo "\nNew TVar is ${TVar}\n"
|
||
ECHO "Read -N 3 Limit Input Test\n"
|
||
READ -N 3 -P "Enter 3 chars: " TVar
|
||
Echo "\nNew TVar is ${TVar}\n"
|
||
ECHO "Read -N 1 Limit Input Test\n"
|
||
READ -N 1 -P "Enter 1 chars: " TVar
|
||
Echo "\nNew TVar is ${TVar}\n"
|
||
ECHO "Read -N 0 Limit Input Test\n"
|
||
READ -N 0 -P "Enter 1 chars: " TVar
|
||
Echo "\nNew TVar is ${TVar}\n"
|
||
Echo "\nEnd Test"
|
||
MAN
|
||
TEXT /MAKE/USR/SHARE/TESTS/READTEST
|