Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
985 B

  1. Although supplied with the perl package, the perl scripts in this eg
  2. directory and its subdirectories are placed in the public domain, and
  3. you may do anything with them that you wish.
  4. This stuff is supplied on an as-is basis--little attempt has been made to make
  5. any of it portable. It's mostly here to give you an idea of what perl code
  6. looks like, and what tricks and idioms are used.
  7. System administrators responsible for many computers will enjoy the items
  8. down in the g directory very much. The scan directory contains the beginnings
  9. of a system to check on and report various kinds of anomalies.
  10. If you machine doesn't support #!, the first thing you'll want to do is
  11. replace the #! with a couple of lines that look like this:
  12. eval 'exec /usr/bin/perl -S $0 ${1+"$@"}'
  13. if $running_under_some_shell;
  14. being sure to include any flags that were on the #! line. A supplied script
  15. called "nih" will translate perl scripts in place for you:
  16. nih g/g??