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.

17 lines
303 B

  1. {
  2. if ($0 ~ /^File /)
  3. {
  4. if (NF == 2)
  5. name = $2
  6. else if ($0 ~ /no version stamp/)
  7. {
  8. name = $2
  9. printf "%-13s ?\n",name
  10. }
  11. }
  12. else if ($1 == "FileVersion" && NF > 2)
  13. {
  14. ver = $NF
  15. printf "%-13s %s\n",name,ver
  16. }
  17. }