On Thursday 12 September 2002 15:11, Angus Leeming wrote: > Of course if Qt3's moc -v prints to stdout (because -v is a > recognised command), then this test will be fine: > moc -v 2> /dev/null | grep 'Qt' > Here (with Qt2), echo $? prints '1' to console because the test > failed. What happens with Qt3?
[15:45][jamatos@rilke:~/lyx/lyx-qt]$moc -v 2> /dev/null | grep 'Qt' [15:45][jamatos@rilke:~/lyx/lyx-qt]$echo $? 1 > Angus -- José Abílio