On Thursday 12 September 2002 4:24 pm, John Levon wrote:
> On Thu, Sep 12, 2002 at 03:51:06PM +0100, Angus Leeming wrote:
> > Thanks. And can stderr be piped on its own? (moc -v 2> | cat
> > doesn't work).
>
> moc -v >/dev/null 2>&1

Doesn't work here
aleem@thorax:aleem$ moc -v >/dev/null 2>&1 | cat
aleem@thorax:aleem$

aleem@thorax:aleem$  moc -v 2>&1 | cat
Qt meta object compiler
moc: Invalid argument
Usage:  moc [options] <header-file>
        -o file  Write output to file rather than stdout
        -i       Do not generate an #include statement
        -f[file] Force #include, optional file name
        -p path  Path prefix for included file
        -k       Do not stop on errors
        -nw      Do not display warnings
aleem@thorax:aleem$

Angus


Reply via email to