I'm learning the look
utility and I don't understand the meaning of the -t
option.
Can someone show me some examples of it?
I read the man
page, but still don't know what it exactly means.
I'm learning the look
utility and I don't understand the meaning of the -t
option.
Can someone show me some examples of it?
I read the man
page, but still don't know what it exactly means.
I don't know why that option would be useful. However here's an example:
$ look -df uncle /usr/share/lib/dict/words
uncle
$ look -df -tc uncle /usr/share/lib/dict/words
unchristian
uncle
uncouth
unction
I suppose it's to give you a mechanism to look up "similar" words if you don't have complete control over the lookup-string.
-t
is to ignore the case when matching. – Oct 07 '11 at 13:39-f
is ignore case;-t
specifies a termination character – Oct 07 '11 at 13:56