home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / question / 14635 < prev    next >
Encoding:
Text File  |  1992-12-12  |  914 b   |  31 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!cs.utexas.edu!uwm.edu!ux1.cso.uiuc.edu!news.cecer.army.mil!naam
  3. From: naam@cecer.army.mil (Ramez Naam)
  4. Subject: Re: failure by negation
  5. Message-ID: <naam.724198325@terra.cecer.army.mil>
  6. Sender: news@news.cecer.army.mil (Net.Noise owner)
  7. Organization: US Army Corps of Engineers Construction Engineering Research Labs
  8. References: <1gdn6pINNe0d@darkstar.UCSC.EDU>
  9. Date: Sat, 12 Dec 1992 22:12:05 GMT
  10. Lines: 19
  11.  
  12. gil@cse.ucsc.edu (Elmer Fudd) writes:
  13.  
  14.  
  15.  
  16. >hello net,
  17. >the following c shell program does the opposite of what i want,
  18. >it checks to see that a file "alive.n.well" exists, then it stops
  19. >execution, i want it to do the same if the file doesn't exists!
  20. >how do i do it?  and where do i get more info about c shell programming
  21. >on line?
  22. >thanks
  23. >-gil
  24.  
  25. >test -f alive.n.well && exit
  26.  
  27. test -f [ ! alive.n.well ] && exit
  28. --
  29. Ramez Naam
  30. naam@terra.cecer.army.mil
  31.