korn shell ignores control character
This document (3283000) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Desktop 10
Situation
Example :
read CHOICE
And you would expect that the cursor will stay after "?" and wait for input but the script ignores "\c" and jumps to the next line. Also the whole string "Your Choice ? \c" will be displayed.
Resolution
ksh-93sin SLES10 SP2
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:3283000
- Creation Date: 11-Jan-2008
- Modified Date:04-Mar-2021
-
- SUSE Linux Enterprise Desktop
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com