home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / calculat / expr.zip / EXPR.MSG < prev    next >
Internet Message Format  |  1990-12-12  |  1KB

  1. Date: 12 Dec 90 10:05:27 GMT
  2. From: richard@calvin.spp.cornell.edu
  3. Newsgroups: comp.binaries.ibm.pc
  4. Subject: expr, command line expression evaluator
  5. Summary: Rewrite of the UNIX command
  6.  
  7. This is actually a clone of "expr" from unix to minix, written by Peter
  8. Housel. It runs fine under MSDOS with no changes, and I am posting it
  9. here (source and binary) with his permission.  It is useful in
  10. combination with the setenv utility I just posted.  
  11.  
  12. 4DOS 3+ can do most of the environment variable  manipulation that
  13. expr might be used for via the variable functions, but the regular
  14. expression matching cannot easily be performed any other way.  With
  15. command.com, expr provides a way to perform numeric and string
  16. manipulations on environment variables.  Regular expression matching
  17. and extraction of substrings are permitted, as well as arithmetic
  18. manipulation of numeric valued variables.
  19.  
  20. There is no man page, - pretty much any version of unix expr(1) should
  21. describe it. 
  22.  
  23. Richard Brittain,                   School of Elect. Eng.,  Upson Hall   
  24.                                     Cornell University, Ithaca, NY 14853
  25. ARPA: richard@calvin.spp.cornell.edu    
  26. UUCP: {uunet,uw-beaver,rochester,cmcl2}!cornell!calvin!richard
  27.  
  28.