bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

set -x can't see > actions


From: Dan Jacobson
Subject: set -x can't see > actions
Date: 22 Mar 2001 22:44:34 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

I'm sure it's in accordance with the rules of set,

              -x      After  expanding  each simple command, dis-
                      play the expanded value of PS4, followed by
                      the command and its expanded arguments.

but I find it rather disquieting that running

a="comp.risks comp.security.announce gnu.announce"
set -x
cd /var/spool/news/interesting.groups &&
  for i in $a; do > $i; done
sleep 2
touch $a

reveals no trace whatsoever of the most significant action, ">"

+ cd /var/spool/news/interesting.groups
+ sleep 2
+ touch comp.risks comp.security.announce gnu.announce

it's just like it never happened, [or didn't it?].  Sure one can set
-v also, but that's not ideal either.

Hmmm, too bad one can't see output like
+ > comp.risks
+ > comp.security.announce
+ > gnu.announce

Again, I'm sure all's in accordance with the rules, it's just not
ideal, that's all.
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]