Skip to content

Instantly share code, notes, and snippets.

@michaelrice
Created May 6, 2015 02:21
Show Gist options
  • Select an option

  • Save michaelrice/6e9123668e70194d26a4 to your computer and use it in GitHub Desktop.

Select an option

Save michaelrice/6e9123668e70194d26a4 to your computer and use it in GitHub Desktop.
#!/bin/bash
enums=$(grep -R "public enum" src/main/*|awk '{print $3}')
for enum in ${enums[@]}
do
grep -R ${enum} src/main/java/com/vmware/vim25/mo/*
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment