From owner-freebsd-questions Fri Jan 24 9:57:20 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 268CB37B401 for ; Fri, 24 Jan 2003 09:57:19 -0800 (PST) Received: from kientzle.com (h-66-166-149-50.SNVACAID.covad.net [66.166.149.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 460AA43F1E for ; Fri, 24 Jan 2003 09:57:18 -0800 (PST) (envelope-from kientzle@acm.org) Received: from acm.org (UGLY.x.kientzle.comg [66.166.149.51] (may be forged)) by kientzle.com (8.11.3/8.11.3) with ESMTP id h0OHvCR06029; Fri, 24 Jan 2003 09:57:12 -0800 (PST) (envelope-from kientzle@acm.org) Message-ID: <3E317E78.1060504@acm.org> Date: Fri, 24 Jan 2003 09:57:12 -0800 From: Tim Kientzle Reply-To: kientzle@acm.org User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011206 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Murat Bicer Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Changes in /bin/sh between 4.6.2 and 4.7 References: <20030124154322.C525A1FA3A@www.fastmail.fm> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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