Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!isavax.isa.com!cjbsys!cliffb From: cliffb@cjbsys.bdb.com (cliff bedore) Newsgroups: comp.unix.xenix.sco Subject: Re: clock and echo problems Message-ID: <1991Jan1.234705.4226@cjbsys.bdb.com> Date: 1 Jan 91 23:47:05 GMT References: <1990Dec31.012532.17992@sceard.Sceard.COM> Organization: BDB Systems Lines: 25 In article <1990Dec31.012532.17992@sceard.Sceard.COM> mrm@Sceard.COM (M.R.Murphy) writes: >This is probably just a case of RTFM, but here goes: > >Compaq Deskpro 386, Xenix 2.3.2, and the system clock loses an hour or >two a day. CMOS clock is ok. This seems like it probably shouldn't happen :-) > >Anybody notice that under csh, > % echo "--" >works, but under /bin/sh, > $ echo "--" >doesn't work? >Any good reason for such behavior from /bin/echo ? >-- >Mike Murphy mrm@Sceard.COM ucsd!sceard!mrm +1 619 598 5874 Yes. in csh there is a built-in echo which gives the first result and since sh doesn't have a bulit-in /bin/echo takes over. (I went crazy on our Ultrix system til I figured this out.) Oops, I just noticed that sh has a bulit-in echo also but it seems to work just like /bin/echo anyhow that is the difference. Cliff