Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <19990504151508.11830.rocketmail@send205.yahoomail.com> Date: Tue, 4 May 1999 08:15:08 -0700 (PDT) From: Earnie Boyd Reply-To: earnie_boyd AT yahoo DOT com Subject: Re: bash 2.0.2 backquoted text includes final carriage return To: Bill Kelly , cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii --- Bill Kelly wrote: > Normally the replacement text in bash for something like `hostname` would > exclude any > final line ending characters, but in bash 2.0.2 this appears not to be the > case. -8<- By _normally_ do you mean on a UNIX system? -8<- > When I tried including the hostname in filenames in bash, I ended up with > carriage > returns in the filenames. -8<- > bash-2.02$ echo -n `hostname` | od -c > 0000000 b o r s \r > 0000005 Expected default. Workaround if necessary only: export CYGWIN=nobinmode. Alternate fix would be to set the output of hostname to 0_BINARY mode in the hostname source file(s) and rebuild. === "Earnie Boyd" CYGWIN RELATED HELP: DOCUMENTATION: DLLHELP: ARCHIVE SEARCH: OR _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com