> I'm interested in see the source code for "/opt/local/bin/getopt".
> Could anybody show me how to locate the source code of an executable
> in macports? Thanks!

First check which port it comes from:
`port provides /opt/local/bin/getopt`

Then you can extract the source of the port and cd to the source:
`sudo port extract $PKG && port work $PKG`

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to