Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Dec 2004 13:54:55 -0600
From:      Joshua Lokken <joshua.lokken@gmail.com>
To:        lists <lists@haubworld.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: buildworld via ssh
Message-ID:  <bc5b63850412231154787ac967@mail.gmail.com>
In-Reply-To: <006e01c4e914$4a3520b0$c1b115d8@Main>
References:  <004001c4e888$fe5f20e0$c1b115d8@Main> <20041223005619.GA88565@gothmog.gr> <006e01c4e914$4a3520b0$c1b115d8@Main>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 23 Dec 2004 12:24:38 -0500, lists <lists@haubworld.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bc5b63850412231154787ac967>