We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

parse qmake output from bash script

NewtonianB
NewtonianB asked
on
Medium Priority
595 Views
Last Modified: 2012-06-21
How can I extract the Qt version from a bash script using
qmake -v?

[newton@plex .home] qmake -v
Qmake version: 1.07a (Qt 2.3.6)
Qmake is free software from Trolltech AS.
[newton@plex .home]
Comment
Watch Question

Top Expert 2011
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
Hi wesly_chen I get the exact same output, am I missing something? seems my pipe is not working
Top Expert 2011

Commented:
Please show me your command.
The second one I post have "blank space" -F'[ |:|(|)]' , right after [

Just copy and paste my command in to terminal. (no $)
CERTIFIED EXPERT
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.