home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / linux / 16350 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.2 KB

  1. Path: sparky!uunet!cs.utexas.edu!uwm.edu!spool.mu.edu!agate!usenet.ins.cwru.edu!odin!chet
  2. From: chet@odin.ins.cwru.edu (Chet Ramey)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Need bash/make guru
  5. Date: 11 Nov 1992 13:19:21 GMT
  6. Organization: Case Western Reserve University, Cleveland OH (USA)
  7. Lines: 18
  8. Message-ID: <1dr18pINNpsm@usenet.INS.CWRU.Edu>
  9. References: <1992Nov10.125358.28549@ncsu.edu>
  10. NNTP-Posting-Host: odin.ins.cwru.edu
  11.  
  12. In article <1992Nov10.125358.28549@ncsu.edu> jlnance@eos.ncsu.edu (JAMES LEWIS NANCE) writes:
  13. >                        fi                                                    \
  14. >                done                                                          \
  15. >        fi;                                                                   \
  16. >        exit 0
  17. >
  18. >When this is executed, the shell complains that there is a syntax error near
  19. >the word done.
  20.  
  21. Add semicolons after the `fi' and `done'.  Since the line is continued, the
  22. newline disappears, and the shell doesn't see any separator token.
  23.  
  24. Chet
  25. -- 
  26. ``The use of history as therapy means the corruption of history as history.''
  27.     -- Arthur Schlesinger
  28.  
  29. Chet Ramey, Case Western Reserve University    Internet: chet@po.CWRU.Edu
  30.