Re: strange --version issue

"Gary V. Vaughan" <[email protected]>
Newsgroups gmane.comp.gnu.m4.general
Message-ID <[email protected]>
On 9 Apr 2008, at 11:24, John Calcote wrote:
> Here's some more data on the m4 --version issue.
>
> $ *m4 --version*
> *GNU M4 1.4.4*
> Written by Rene' Seindal.
> ...
>
> $ *strace m4 --version*
> execve("/usr/local/bin/m4", ["m4", "--version"], [/* 68 vars */]) = 0
> ...
> write(1, "GNU M4 1.4.5\n", 13*GNU M4 1.4.5*
> )          = 13
> write(1, "Written by Rene\' Seindal.\n\nCopyr"..., 152Written by  
> Rene' Seindal.
> ...
>
> Running "m4 --version" alone appears to execute the one in /usr/bin  
> (1.4.4), while executing under strace seems to run the correct one  
> in /usr/local/bin (1.4.5).
>
> Again, I'm wondering...

Probably your shell has cached the location of the previously  
installed M4.  Run
'hash -r' or equivalent at the command line to make it actually look  
in the path
again.

Cheers,
	Gary
-- 
   ())_.              Email me: [email protected]
   ( '/           Read my blog: http://blog.azazil.net
   / )=         ...and my book: http://sources.redhat.com/autobook
`(_~)_

_______________________________________________
m4-discuss mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-discuss
PGP.sig (application/pgp-signature, 186 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.