echo with no line feed
Isaac Good
isaac@rentmagic.ca
Sun May 27 04:25:00 GMT 2007
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@earthlink.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/
More information about the Cygwin
mailing list