Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!BBN.COM!jjd From: jjd@BBN.COM (James J Dempsey) Newsgroups: gnu.bash.bug Subject: echo -n does Message-ID: <8907102240.AA00404@life.ai.mit.edu> Date: 10 Jul 89 22:40:46 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21 I'm running bash 1.02 under Ultrix 3.0 on a VAX 8530 compiled with GCC 1.35. The "-n" option of the builtin echo doesn't seem to suppress a newline at the end. However, using \c with -e does seem to suppress the newline. I couldn't figure out the problem from a quick look at the code since -n and \c seem to do the same thing. The -n option worked fine in 1.01 but it looks like the argument parsing for echo_builtin has changed since then. $ echo foo foo $ echo -n foo foo $ echo -e 'foo\c' foo$ --Jim Dempsey-- BBN Communications jjd@bbn.com (ARPA Internet) ..!{decvax, harvard, wjh12, linus}!bbn!jjd