home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / unix / shell / 3562 < prev    next >
Encoding:
Text File  |  1992-08-21  |  1.7 KB  |  39 lines

  1. Newsgroups: comp.unix.shell
  2. Path: sparky!uunet!caen!sol.ctr.columbia.edu!eff!ckd
  3. From: ckd@eff.org (Christopher Davis)
  4. Subject: Re: Octal chmod status
  5. In-Reply-To: ash@ulysses.mr.ams.com's message of Thu, 20 Aug 1992 15:53:24 GMT
  6. Message-ID: <CKD.92Aug21171728@loiosh.eff.org>
  7. Sender: usenet@eff.org (NNTP News Poster)
  8. Nntp-Posting-Host: loiosh.eff.org
  9. Organization: Electronic Frontier Foundation Tech Central
  10. References: <Bt0EEL.H1q@mudos.ann-arbor.mi.us> <1992Aug19.130558.8488@news.eng.convex.com>
  11.     <104.22185@incc.com> <1992Aug20.025036.12745@news.eng.convex.com>
  12.     <ASH.92Aug20105324@ulysses.mr.ams.com>
  13. Date: Fri, 21 Aug 1992 21:17:30 GMT
  14. Lines: 23
  15.  
  16. Alan> == Alan Harder <ash@ulysses.mr.ams.com> 
  17.  
  18.  Alan> Maybe this thread belongs on alt.talk.religion.  Believe me, many
  19.  Alan> people out there think we're *all* crazy for working with *unix*
  20.  Alan> boxes.  This problem would obviously be easier to solve in cobol
  21.  Alan> on an AS400 machine ;-).
  22.  
  23. On one occasion, before I learned perl, I had to reformat a data file
  24. (turns out the stats program had to have spaces between each number, but
  25. we didn't know that when we entered the data :-).  Since it was on an
  26. IBM mainframe, we didn't have perl, I couldn't figure out a quick way to
  27. do it with XEDIT, and I couldn't ftp it to a UNIX account because I
  28. didn't have one then.
  29.  
  30. So I wrote a COBOL program to read in an 80-character line and copy it
  31. to a 160-character line (with interspersed spaces).  It was a brutal,
  32. ugly hack, but it saved a hell of a lot of time.
  33.  
  34. I'm glad I have perl now :-)
  35. --
  36. Christopher Davis * ckd@eff.org * System Administrator, EFF * +1 617 864 0665
  37.             ``Ed Gruberman, you fail to grasp Ti Kwan Leep.
  38.             Approach me that you might see.'' -- The Master
  39.