Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there any command line check for the version of SWIG ?

share|improve this question
up vote 6 down vote accepted

I get:

$ swig -version

SWIG Version 1.3.40

Compiled with g++ [i686-pc-linux-gnu]
Please see for reporting bugs and further information

Did you mean something else?

$ swig -version | perl -nae 'print "$F[2]\n" if /SWIG Version/i;'
share|improve this answer
swig -version is just fine ! Thanks ..... funnily it was not working my it does ! – Arkapravo Jun 29 '10 at 14:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.