From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jim Roy Subject: command spooling tangent Date: Thu, 4 Aug 2005 09:27:50 -0700 Message-ID: <20050804092750.74f0ae75.jim@nga.com> References: <1122963263l.32575l.0l@hyttynen> <60a7468905080200315678d209@mail.gmail.com> <1122969644l.1939l.0l@hyttynen> <20050804005710.GA16052@open-core.com.ar> <1123140368l.3265l.0l@hyttynen> <17137.63740.541674.508010@cerise.gclements.plus.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <17137.63740.541674.508010@cerise.gclements.plus.com> Sender: linux-admin-owner@vger.kernel.org List-Id: Content-Type: text/plain; charset="us-ascii" To: Glynn Clements Cc: linux-admin@vger.kernel.org On Thu, 4 Aug 2005 12:16:12 +0100 Glynn Clements wrote: > > I find it far more common for scripts to use ";" when they really > should have used "&&" than the converse. A particularly common case > is "cd foo ; dosomething"; this should almost always be using "&&". > guilty as charged :-) Try for example, the old standard: tar -cf - * | ( cd targetdir; tar -xf - ) where targetdir doesn't actually exist. I don't THINK anything bad happened when I did this, but I haven't actually looked at all the images I was trying to move either. Jim Roy