m4-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: strange --version issue


From: Gary V. Vaughan
Subject: Re: strange --version issue
Date: Wed, 9 Apr 2008 11:35:48 -0400

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: address@hidden
  ( '/           Read my blog: http://blog.azazil.net
  / )=         ...and my book: http://sources.redhat.com/autobook
`(_~)_




Attachment: PGP.sig
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]