home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / question / 14637 < prev    next >
Encoding:
Internet Message Format  |  1992-12-12  |  883 b 

  1. Path: sparky!uunet!usc!wupost!crcnis1.unl.edu!crcnis1.unl.edu!manager
  2. From: Jeremy Bettis <jbettis@cse.unl.edu>
  3. Newsgroups: comp.unix.questions
  4. Subject: Re: failure by negation
  5. Date: 12 Dec 1992 23:19:35 GMT
  6. Organization: University of Nebraska--Lincoln    
  7. Lines: 16
  8. Distribution: world
  9. Message-ID: <1gds27INNfms@crcnis1.unl.edu>
  10. References: <1gdn6pINNe0d@darkstar.UCSC.EDU>
  11. NNTP-Posting-Host: cse.unl.edu
  12.  
  13. gil@cse.ucsc.edu (Elmer Fudd) writes:
  14.  
  15. >here's the program....
  16.  
  17. >#! /bin/csh -f
  18. >echo "hello 1"
  19. ># how do i negate this?
  20. >test -f alive.n.well || exit
  21. >echo "hello 2"
  22.  
  23. This will do it also... change && to || as I did up there.
  24. --
  25. Jeremy Bettis   -*-   Jerbo Jehoshaphat   -*-   University of Nebraska
  26. INET:    jbettis@cse.unl.edu        "Those who stand in the middle of the
  27.     bt757@Cleveland.Freenet.Edu     road are often hit by passing cars."
  28.  BBS:    The Dew Drop Inn (402)476-8807 3/12/24
  29.