MLUG: Re: [MLUG] Passing options to the time command
Re: [MLUG] Passing options to the time command
Email address obfuscation in effect -- please click here to turn it off.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
On Sat, 3 Nov 2007, Stephen Montgomery-Smith wrote:

This is one place where tcsh is better than bash!

As a long-time user of tcsh now switching to bash, I can tell you that people often think that one of the two shells has a feature that the other lacks, but once you look into it further, you find that the feature is present in both shells. Sometimes a non-default configuration is required to enable the feature.



%which time
time: shell built-in command.

I actually assumed this would be true in bash. This partially explains my earlier misinformation (for which I apologize).

In bash, you have to use "type" instead of "which":

$ type time
time is a shell keyword

$ type type
type is a shell builtin

(My last message went into more detail.)

I think you had it right though: The problem was that the "which" command was pointing to the wrong executable and you said so.

Mike

_______________________________________________
members mailing list
EMAIL:PROTECTED
http://mlug.missouri.edu/mailman/listinfo/members