On Jul 30, 2011, at 16:22, Peng Yu wrote:

> Sorry, that I didn't state my question clearly. I remember there is a
> command (using port) to select whether to use py26 or py27 even both
> are installed (I forget the command name). Is there something similar
> for pdf2txt.py-2.7 so that I can select which version of pdf2txt.py is
> going to be used without having to specify the suffix?

Right, that's the "port select" feature. This is only used for a handful of big 
ports (like the python and gcc ports) and we don't do this for individual 
python modules for example. The purpose of "port select" is to make it easier 
on the command line to access these programs by using a familiar name. Another 
way to accomplish that would be for you to create a shell alias:

alias pdf2txt.py=pdf2txt.py-2.7



_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to