On Dec 31, 2005, at 7:43 PM, John Delacour wrote:

At 6:49 pm -0500 31/12/05, Chris Devers wrote:

On Sat, 31 Dec 2005, John Delacour wrote:
 print `/usr/bin/./printenv`
                  ^^

Why the '/./' here?

Isn't `/usr/bin/printenv` equivalent, clearer, and simpler?

Sure, but I didn't get that far. printenv works in tcsh without the path but not in bash, so I tried that in bash, it worked and voilĂ .


That's because in tcsh it's a built-in shell command, but in bash it invokes /usr/bin/printenv. For some reason you seem not to have /usr/bin in your path or something.

 -Ken

Reply via email to