What does the - option to env do?

Posted by grifaton on Server Fault See other posts from Server Fault or by grifaton
Published on 2010-05-15T16:36:25Z Indexed on 2010/05/15 16:44 UTC
Read the original article Hit count: 394

Filed under:

From the man page for env:

The historic - option has been deprecated but is still supported in this implementation.

What does the "historic - option" do?

In particular, why does it change which version of python is run?

~:$ env python
Python 2.6.5 Stackless 3.1b3 060516 (release26-maint, Mar 24 2010, 09:47:07) 

but:

~:$ env - python
Python 2.5.1 (r251:54863, Feb  6 2009, 19:02:12) 

© Server Fault or respective owner

Related posts about env