home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / unique2.zip / UNIQUE.DOC next >
Text File  |  1995-09-26  |  3KB  |  68 lines

  1. Hi Ho.
  2. It's me again.
  3.  
  4. Unique for OS/2 V1.0.
  5. by Stu Mark. 9/26/95
  6. You can get in touch with me at nyti: 914-368-2819.
  7.  
  8. Description:
  9. ------------
  10.   I spend a lot of my time nowadays, hand pushing around a lot of text data.
  11. So I write utilities to help me. One of the most annoying things about lists
  12. is duplicates. Why process something 10 times when you only have to process
  13. it once? Because you don't have an easy way of getting rid of duplicates.
  14.   So I wrote unique. It can sit right next to grep, sort and tail. It can
  15. be passed a parameter filename to process, or it can be used in a pipe (it
  16. will read from stdin if not passed a filename).
  17.   The catch is, the file has to be sorted, I.E. it only removes adjacent
  18. duplicates. But hey, it's better than nothing. If you need to sort a big
  19. file, may I suggest SPFPC. I know. Mainframes suck, but frankly, the pc
  20. version works better than the mf version, it's got a great virtual memory
  21. manager, and can sort a really really huge file, unlike the sort pipe.
  22.   To use it just type Unique and the filename: Unique text.fil
  23.   Output goes to stdout.
  24.   Another way to use it: dir | unique
  25.   This will take the output of the dir command and run it through the
  26. unique program. But if you don't know that by now, you have no use for
  27. this program. But I appreciate you reading my wonderful literary works.
  28.  
  29. Known Bugs:
  30. -----------
  31.   This isn't exactly a bug, it's a misowner (my own word). Since unique has
  32. to read in 2 lines to compare them, if you accidently run unique with no
  33. params, you have to hit ctrl-z twice to get out of it.
  34.  
  35. Unknown Bugs:
  36. -------------
  37. I don't know of any.
  38.  
  39. GNU:
  40. ----
  41.   I don't like the GNU people because one of them took my friend's program,
  42. changed all the copyright info, and put it up under GNU licensing under his
  43. own name. This is a poor example of the GNU concept, morals of some excuses
  44. for people, and people who should not call themselves programmers.
  45.   For this reason, I do not ship source. But I leave the debugging info in.
  46.  
  47. Lie of the day:
  48. ---------------
  49.   For those of you real creative hackers out there, there's a full 32 bit PM
  50. version of Space Invaders embedded in Unique's executable. I left the
  51. debugging info in, and it's a great help towards unlocking the startup
  52. program to it, so you can play this wonderful game. It's got multiplayer mode
  53. so you can play against or with another person over modem or network.
  54.   Have Fun.
  55.  
  56. Endnote:
  57. --------
  58.   If you have any ideas of stuff to change, add, or whatever. Give nyti a
  59. ring or email me at Stu Mark@nyti.uncnsrd.org
  60.  
  61. Coming Soon:
  62. ------------
  63. The New York Telescheduler V2.0
  64. (Version 1.0, 1.1 and 1.2 were never released, so don't feel bad that you
  65. missed anything.)
  66.  
  67.  
  68.