home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / shell / 4818 < prev    next >
Encoding:
Text File  |  1992-11-20  |  1.5 KB  |  38 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!carson.u.washington.edu!donn
  3. From: donn@carson.u.washington.edu (Donn Cave)
  4. Subject: Re: echo question
  5. Message-ID: <1992Nov20.191931.23470@u.washington.edu>
  6. Sender: news@u.washington.edu (USENET News System)
  7. Organization: University of Washington
  8. References: <17935@autodesk.COM> <19921117182407SEB1525@MVS.draper.com>
  9. Date: Fri, 20 Nov 1992 19:19:31 GMT
  10. Lines: 26
  11.  
  12. SEB1525@MVS.draper.com (Steve Bacher) writes:
  13.  
  14. |In article <17935@autodesk.COM>,
  15. |dansmith@Autodesk.COM (Daniel Smith) writes:
  16.  
  17. |>> >        echo 'first:this=that=other+second:this=that=other+' | tr '=+' '\011\012'
  18. |>
  19. |>> Hardcoded octal ascii is "portable"???
  20. |>> Escaping syntax in tr is "portable"???
  21. |>
  22. |>        OK, name an english-language version of Unix this'll bomb on.
  23.  
  24. | I haven't seen AIX/370, but I'm sure it'll bomb, being EBCDIC.
  25.  
  26. Sorry, AIX/370 is ASCII, and the above command works identically on AIX/370,
  27. Ultrix 4.2, and OSF/1.  You're not the first person to assume that ASCII text
  28. somehow produces bit patterns that are distasteful to IBM 370 architecture
  29. computers.
  30.  
  31. What about non-English-language UNIXes - is there such a thing, that would
  32. fail to do what one would expect with the above command?
  33. Seems like it would be more trouble than it's worth to derange the
  34. character set to do other things with 1 .. 040.
  35.  
  36.     Donn Cave, University Computing Services, University of Washington
  37.     donn@cac.washington.edu
  38.