You mean preventing it from printing a newline? Try this: echo -n "Type file name: \c" (From Google -> man echo)
On 5/26/07, John <[EMAIL PROTECTED]> wrote:
I can't get: #! /bin/sh echo "Type file name: \c" read FNAME echo $FNAME # to work without the line feed (using " or ' quotes in the echo). Any tips? Thanks, John -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
-- - Yitzchok Good -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/