X-Spam-Check-By: sourceware.org Message-ID: Date: Sat, 26 May 2007 23:39:10 -0400 From: "Isaac Good" To: cygwin AT cygwin DOT com Subject: Re: echo with no line feed In-Reply-To: <4658FCBB.8030909@earthlink.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4657D057 DOT 4090502 AT earthlink DOT net> <20070526145859 DOT GA3313 AT ednor DOT casa DOT cgf DOT cx> <46585D7D DOT 1070805 AT earthlink DOT net> <20070526170712 DOT GA18329 AT trixie DOT casa DOT cgf DOT cx> <4658FB50 DOT 8060101 AT earthlink DOT net> <4658FCBB DOT 8030909 AT earthlink DOT net> X-Google-Sender-Auth: 45250c93bf6d385e X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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 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/