linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jim Roy <jim@nga.com>
To: Glynn Clements <glynn@gclements.plus.com>
Cc: linux-admin@vger.kernel.org
Subject: command spooling tangent
Date: Thu, 4 Aug 2005 09:27:50 -0700	[thread overview]
Message-ID: <20050804092750.74f0ae75.jim@nga.com> (raw)
In-Reply-To: <17137.63740.541674.508010@cerise.gclements.plus.com>

On Thu, 4 Aug 2005 12:16:12 +0100
Glynn Clements <glynn@gclements.plus.com> 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

  reply	other threads:[~2005-08-04 16:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1122963263l.32575l.0l@hyttynen>
     [not found] ` <60a7468905080200315678d209@mail.gmail.com>
     [not found]   ` <1122969644l.1939l.0l@hyttynen>
2005-08-02 13:14     ` a command "spool", ie queueing commands? asterr
2005-08-04  0:57     ` Emiliano Castagnari
2005-08-04  7:26       ` urgrue
2005-08-04 11:16         ` Glynn Clements
2005-08-04 16:27           ` Jim Roy [this message]
2005-08-09  0:54 ` Mike Castle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050804092750.74f0ae75.jim@nga.com \
    --to=jim@nga.com \
    --cc=glynn@gclements.plus.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).