home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume10 / chall / README < prev   
Encoding:
Text File  |  1990-01-19  |  1.3 KB  |  33 lines

  1. chall
  2.  
  3. By Brian E. Litzinger
  4.  
  5. You can do what you wish with this code.  Just don't make a profit
  6. off of it.
  7.  
  8. The following program is just a useless waste of your time, so I'd
  9. just /bin/rm it and go one with more useful endeavours.
  10.  
  11. I've been accused of posting useless programs in the past, so I think
  12. you should seriously re-consider just tossing this code out.
  13.  
  14. There really are better ways to do these things.  This whole mess
  15. is just a waste of network bandwidth and I'm surprised the moderator
  16. actually let it slip through.
  17.  
  18. If you still want to use this program its a program using getopts that
  19. lets you combine chmod, chown, and chgrp into one command called chall.
  20.  
  21. It doesn't follow any of the BSD combined chown/grp functionality. I'm
  22. a System V'er after all.  It does have one saving grace though, you
  23. can maintain a personal .chall file in your home directory with macros
  24. in it like 'man:bin:bin:444' which means you can say 
  25.     chall -x man foobar
  26. and foobar will be chmod 444 foobar, chown bin foobar, chgrp bin foobar.
  27.  
  28. See the man page for more information.  It's too bad it doesn't 
  29. recursively decend directories, and it's too bad it doesn't use
  30. the +rw ... stuff of BSD.  The latter I actually tried, but all those
  31. different options, there just didn't seem to be away to do it.
  32.  
  33.