lists wrote:
I did a 'make -DNOCLEAN buildworld 2>&1 blah.txt &' and it didnt work as I
would have expected.
It spaced it out when I looked at the processes like this
make -DNOCLEAN buildworld 2 > & 1 blah.txt &
So, it tried to also tried to "make 2" and failed and wrote the output to a
file named "1"
A redirect like this works on BSDi, not sure why it didn't in this case on
FreeBSD5.2
Am I doing something wrong?

You're typing commands using Bourne shell syntax but you're actually running tcsh(1). For Csh-alikes like tcsh, the command would be:

    # make -DNOCLEAN buildworld &> blah.txt &

        Cheers,

        Matthew

--
Dr Matthew J Seaman MA, D.Phil.                       8 Dane Court Manor
                                                      School Rd
PGP: http://www.infracaninophile.co.uk/pgpkey         Tilmanstone
Tel: +44 1304 617253                                  Kent, CT14 0JL UK

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to