home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / ultrix / 6558 < prev    next >
Encoding:
Text File  |  1992-08-29  |  988 b   |  39 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!world!cmr
  3. From: cmr@world.std.com (Charles M Richmond)
  4. Subject: Re: /bin/test bug?
  5. Message-ID: <Btqz2D.8D@world.std.com>
  6. Organization: Integrated International Systems Corp. One Longfellow Place, Suite 3309, Boston, Ma.
  7. References: <4360@equinox.unr.edu> <1992Aug27.152832.6727@cc.ic.ac.uk>
  8. Date: Sat, 29 Aug 1992 13:34:59 GMT
  9. Lines: 28
  10.  
  11.  
  12.  
  13. My korn shell results were slightly different. 
  14.  
  15. test '-s' = '-s' && echo WOW
  16. WOW
  17.  
  18.  test "-s" = "-s" && echo WOW
  19. WOW
  20.  
  21. test -s = -s && echo WOW
  22. WOW
  23.  
  24.  
  25. This is on a DS3100 running ULTRIX 4.2a where /bin/test is :
  26.  
  27. -rwxr-xr-x  2 root        12288 Mar 19  1991 /bin/test
  28.  
  29. Hope this is useful.
  30.  
  31.  
  32. Charlie
  33.  
  34. -- 
  35. *****************************************************************************
  36. *  Charles Richmond     Integrated International Systems Corporation        *
  37. *  cmr@world.std.com    (Temporary) cmr@chiechan.mro4.dec.com            *
  38. *  Specializing in UNIX, X, Image Processing, and Communications.           *
  39.