| Alan Connor 2005-02-09, 2:48 am |
| On Wed, 9 Feb 2005 01:05:20 +0100, Matt Benson
<mbens@hotmail.com> wrote:
I am posting from comp.os.linux.misc.
> When I start (in ksh) a shell script test.sh How do I let the
> shell interpreter display each line he will execute just before
> he is really executing it. The display should include the real
> content of variables.
>
> Matt
>
comp.lang.perl.misc!? (deleted from list of newsgroups)
All this cross-posting is really going overboard.
We'll see you the next time around. (Unless you've cross-posted
to a dozen groups for something less than a system emergency.)
Scratch that. This is obviously your post too:
<quote>
Path: newsspool2.news.pas.earthlink.net!stamper.news.pas.earthlink.net
!elnk-nf2-pas!newsfeed.earthlink.net!newshub.sdsu.edu
!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de
!news.t-online.com!not-for-mail
From: peter_ha@andres.net (Peter Hanke)
Newsgroups: comp.os.linux.misc,comp.unix.shell,comp.unix.questions
Subject: What does the statement "exec >myfile.dat" mean?
Followup-To: comp.unix.shell
Date: Wed, 9 Feb 2005 01:05:40 +0100
Organization: T-Online
Lines: 6
Message-ID: <cubk4k$i1h$01$1@news.t-online.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.t-online.com 1107907540 01 18481 EiZQrzdvpxtogLh 050209 00:05:40
X-Complaints-To: usenet-abuse@t-online.de
X-ID: XHUFRiZfwemeu8lvXqFVVssQ7+85Cma1K0XeG8h3
F5eRwYyntVXHoc
Xref: news.earthlink.net comp.os.linux.misc:636310 comp.unix.shell:166347
comp.unix.questions:123232
X-Received-Date: Tue, 08 Feb 2005 16:07:12 PST
(newsspool2.news.pas.earthlink.net)
Is this a redirection of ALL (?) output of ALL (?) statements to the file
myfile.dat?
Wouldn't it be better to use tee instead?
Peter
</quote>
Both aliases killfiled.
AC
|