home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17055 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.7 KB  |  49 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!rde!ksmith!keith
  3. From: keith@ksmith.uucp (Keith Smith)
  4. Subject: FIX: echo ??? (was : FIX: UUCP, !, bash and smail)
  5. Organization: Keith's Computer, Hope Mills, NC
  6. Date: Tue, 17 Nov 92 20:41:46 GMT
  7. Message-ID: <1992Nov17.204146.4652@ksmith.uucp>
  8. References: <9211102166@monad.swb.de> <4926TB2w165w@dogear.spk.wa.us> <1e11p6INNl71@usenet.INS.CWRU.Edu>
  9. Lines: 38
  10.  
  11. In article <1e11p6INNl71@usenet.INS.CWRU.Edu> chet@odin.ins.cwru.edu (Chet Ramey) writes:
  12. >In article <4926TB2w165w@dogear.spk.wa.us> bobk@dogear.spk.wa.us (Bob Kirkpatrick) writes:
  13. >
  14. >>Bash really pissed me off too --for the same reason. I think linux
  15.  
  16. bash is swell.
  17.  
  18. >Please be more specific about the `gaping holes'.  I have changed the
  19. >manual page quite a bit since the 1.12 release; perhaps the updated
  20. >version will satisfy you.
  21.  
  22. There are a lot of pages missing in the SLS I have.  Will have to scour
  23. around and see what else is floating around, one of which ...
  24.  
  25. My *REAL* question is ...
  26.  
  27. echo.
  28.  
  29. Perhaps I am an idiot, but I've written a TON of shell scripts that use
  30. embedded escapes: "Ring the bell \007\007"
  31.  
  32. and hanging end of lines: "Press Your Selection >\c"
  33.  
  34. and while I've discovered -n ( echo -n "Press Your Selection >" ) this
  35. seems a bit ridiculous to have to change all this to port over to linux.
  36. SVR4, SCO stuff, & Coherent don't seem to have any problem with embedded
  37. escapes.  Is this a problem with bash?  '\\' doesn't help either.
  38.  
  39. So what did I miss?  Should I add a flag to sh/bash somewhere?  Can it
  40. be done in the top of the script?
  41.  
  42. #!/bin/sh -flag
  43.  
  44. <SIGH>
  45. -- 
  46. Keith Smith          uunet!ksmith!keith            5719 Archer Rd.
  47. Digital Designs      BBS 1-919-423-4216            Hope Mills, NC 28348-2201
  48. Somewhere in the Styx of North Carolina ...
  49.