Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!hellgate.utah.edu!cc.utah.edu!inel.gov!mica!dob From: dob@inel.gov (David L. Brooks) Newsgroups: comp.unix.ultrix Subject: wierd behavior of echo on a Vax Message-ID: Date: 13 Aug 90 20:23:48 GMT Sender: news@inel.gov Distribution: comp.unix.ultrix Organization: Idaho National Engineering Lab Lines: 50 We've been having some strange problems with logfiles created by scripts, recently, and i've narrowed it down to this pattern: echo `some basic command` "some other text string" >> logfile the command can come before *or* after the text, and it doesn't matter if the logfile is created via >, appended to, or if the output goes into a pipe, etc. the behavior is this: interspersed between each character in the "text string" is a rubout, aka /377 character. this happens only on the Vax running Ultrix 3.1. It works fine on our DECStation 3100's running 3.1D. the work around is to do something like this: set date=`date` echo $date "some other relevant text" >> $LOGFILE commands other than date, such as whoami, exhibit the same results. has anyone else run into this? DEC, any suggestions? on a final note: the signature following my address was added by lawyers (i'm pretty sure not interactively, but can't guarantee that), otherwise we can't post. every time i post, i always get at least one humorous comment. i'm really in a mood for a few good humorous comments right now, so let those creative juices flow... dlb -- ------------------------------------------------------------------------------ David L. Brooks Idaho National Engineering Lab. INTERNET: dob@INEL.GOV POB 1625 M.S. 1206 Phone: (208) 526-0826 Idaho Falls, Id. 83415 FAX: (208) 526-1419 ------------------------------------------------------------------------------ Neither the United States Government nor the Idaho National Engineering Laboratory nor any of their employees, makes any warranty, expressed or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial products, process, or service by trade name, trademark manufacturer, or otherwise, does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States Government or the Idaho National Engineering Laboratory. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States Government nor the Idaho National Engineering Laboratory, and shall not be used for advertising or product endorsement purposes.