home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume2 / mpg / README < prev    next >
Encoding:
Text File  |  1991-08-07  |  1.4 KB  |  42 lines

  1. The enclosed files are an example of a floating point application
  2. written in Bourne shell scipt, with the aid of a short program,
  3. FPDIVIDE.
  4.  
  5. FPDIVIDE will divide, multiply, add, and subtract floating point
  6. numbers, depending on its name.
  7.  
  8. The sample application enclosed is a Fuel Economy Calculator,
  9. in versions for the US, UK, and the rest of the (decimal) world.
  10.  
  11. While fuel economy is not such a hot topic in the US, I don't know
  12. of any other topic more frequently discussed when drivers of automobiles
  13. talk about their cars in Europe.
  14.  
  15. This program will let you enter the distance driven and fuel consumed
  16. every time you fill your tank, and will then tell you how many miles
  17. to the gallon you have driven, or how many liters of fuel your have
  18. consumed per 100 km driven.
  19.  
  20. It will optionally print out a short statement on the standard line printer.
  21.  
  22. With minimal modifications, this program should also run under the
  23. MKS Toolkit implementation of the Korn Shell.
  24.  
  25. FILES:
  26.  
  27. README            this file
  28. fpdivide.c        the source for the floating point commands
  29. fpdivide.1        man page for the floating point commands
  30. mpg.1            man page for the MPG programs
  31. eurmpg            European/Decimal version of MPG
  32. ukmpg            UK/Imperial Gallons version of MPG
  33. usmpg            US version of MPG
  34. mpgdata            initial $HOME/.mpgdata file, all zeros
  35.  
  36. I hope sombody finds this useful. I welcome your comments!
  37.  
  38. Wolf N. Paul
  39. ihnp4!killer!wnp
  40. ihnp4!killer!dcs!wnp
  41. ihnp4!killer!doulos!wnp
  42.