Date: Fri, 24 Jan 2003 09:57:12 -0800 From: Tim Kientzle <kientzle@acm.org> To: Murat Bicer <murat@bicer.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Changes in /bin/sh between 4.6.2 and 4.7 Message-ID: <3E317E78.1060504@acm.org> References: <20030124154322.C525A1FA3A@www.fastmail.fm>
next in thread | previous in thread | raw e-mail | index | archive | help
Murat Bicer wrote: > killall freevrrpd > /dev/null 2>&1 & && echo -n 'freevrrpd' The construction 'a & && b' has always been complete nonsense and the shell no longer accepts it. (The '&&' means "check the output of the preceding command", which isn't possible with 'a &' being run in the background.) If you mean to wait until 'killall' finishes, use just '&&'. If not, use just '&'. Tim Kientzle To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E317E78.1060504>