From owner-freebsd-questions Wed Jul 18 10:21:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from herald.cc.purdue.edu (herald.cc.purdue.edu [128.210.11.29]) by hub.freebsd.org (Postfix) with ESMTP id 20FA937B401 for ; Wed, 18 Jul 2001 10:21:09 -0700 (PDT) (envelope-from shwim@purdue.edu) Received: from dsl028h (dsl-028-h.resnet.purdue.edu [128.211.161.185]) by herald.cc.purdue.edu (8.11.3/8.11.3/herald) with SMTP id f6IHKqX11882; Wed, 18 Jul 2001 12:20:53 -0500 (EST) Message-ID: <002101c10fad$cbd6dee0$0301a8c0@resnet.purdue.edu> From: "Shwim" To: "P. U. (Uli) Kruppa" , "angela" Cc: "Lanny Baron" , References: <20010718190539.U3625-100000@localhost.de> Subject: Re: one & and two && Date: Wed, 18 Jul 2001 12:19:16 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 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 Of course in most shells, & = set into background & && = pretty much the same as below && where you execute command b if command a successfully executes I'm guessing since you're asking this mailing list, you wanted to know the common shell implementations used in FreeBSD. Shwim ----- Original Message ----- From: "P. U. (Uli) Kruppa" To: "angela" Cc: "Lanny Baron" ; Sent: Wednesday, July 18, 2001 2:11 PM Subject: Re: one & and two && > On Wed, 18 Jul 2001, angela wrote: > > > Date: Wed, 18 Jul 2001 12:43:03 -0400 > > From: angela > > To: Lanny Baron , > > "freebsd-questions@FreeBSD.ORG" > > Subject: one & and two && > > > > Hi Lanny Baron > > > > > > What is differenet one '&' and two '&&' > & is the logical "and" condition: > a&b=true if (a=true and b=true) > (both a and b are checked) > > && is a 'technical' "and" condition: > only check b=true if a=true (anything else would be a waste > of time) > > > Uli. > > > *--------------------------------------* > | www.pukruppa.de www.2000d.de | > | Wuppertal - Germany | > *--------------------------------------* > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message