On Thu, 23 Dec 2004 12:24:38 -0500, lists <[EMAIL PROTECTED]> 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? > > BTW i now have this > # ll /usr/obj/usr/src/usr.sbin/zzz > total 2 > -rw-r--r-- 1 root wheel 1076 Dec 23 07:34 zzz.8.gz
>From this reference, it looks like the syntax should be: (for sh and friends, not csh): # make -DNO_CLEAN buildworld file.txt 2>&1 & Works on my system ;) http://wks.uts.ohio-state.edu/unix_course/intro-69.html -- Joshua Lokken Open Source Advocate _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"