delorie.com/archives/browse.cgi | search |
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 <jhy001 AT earthlink DOT net> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |