Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread James Melin
Thanks. I've always been a little fuzzy on that whole 21 business, as I
use it so rarely.



|-+
| |   McKown, John   |
| |   [EMAIL PROTECTED]|
| |   insctr.com  |
| |   Sent by: Linux on|
| |   390 Port |
| |   [EMAIL PROTECTED]|
| |   IST.EDU |
| ||
| ||
| |   11/06/2003 03:20 |
| |   PM   |
| |   Please respond to|
| |   Linux on 390 Port|
| ||
|-+
  
--|
  |
  |
  |   To:   [EMAIL PROTECTED]  
|
  |   cc:  
  |
  |   Subject:  Re: Brain fart - redirect stderr/std out to a file and NOT see an 
ything after a command is run  |
  
--|




James,

That doesn't work. Why? First, the shell redirects STDERR to *the current
STDOUT destination*, you then redirect STDOUT. Try:

tar -cvzf $HOME/hawkweb.tar /it  /u/sy4080/tarmessages.txt 21


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 06, 2003 3:17 PM
 To: [EMAIL PROTECTED]
 Subject: Brain fart - redirect stderr/std out to a file and
 NOT see anything after a command is run


 I am trying to re-direct output from tar  - the whole list of
 what it's
 archiving to a file so I don't see it on my terminal session.

 I've tried variations of  tar -cvzf $HOME/hawkweb.tar /it  21
 /u/sy4080/tarmessages.txt   but I still get teh huge spew and
 nothing in
 the file. What did I not remember?



Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread McKown, John
On z/Linux, use the wget command. It will do recursive ftp gets. On
Windows, you are on your own grin. Of course, you could use wget to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle it
up, then ftp to get the tar file to Windows.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 8:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see anything after a command is run


 Actually, it occurs to me that this will do exactly what I
 wanted it to do,
 but not what I need it to do

 Specifically, I need to manually re-import the file system
 structure of a
 web site built on OS/390 Unix system services to which the developer
 destroyed his 'frontpage' source. The import website thing
 only follows
 links and he has some JavaScript built menus and crap, and
 cannot get the
 whole thing back properly. We want to re-deploy this to z/Linux (minor
 changes to scripts required)

 I had looked into having FTP recursively navigate a directory
 structure and
 re-created it on his desktop but I can't seem to see how to
 do that. So I
 was going to just tar the whole thing but the I realized the
 text based
 files  will be EBCDIC, so that's kinda useless.

 What is the easiest way to bring this USS installed directory
 structure
 into windows so we can used the developer's favorite (gack) tool to
 redeploy this to z/Linux?



Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread Post, Mark K
The wget command is one of my favorites, and it is available for Windows,
but from my reading of the man page, wget only does binary transfers, not
text/ASCII ones.  So, Jim would wind up with EBCDIC on his Linux/390 system,
not ASCII.


Mark Post

-Original Message-
From: McKown, John [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


On z/Linux, use the wget command. It will do recursive ftp gets. On
Windows, you are on your own grin. Of course, you could use wget to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle it
up, then ftp to get the tar file to Windows.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 8:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see anything after a command is run


 Actually, it occurs to me that this will do exactly what I
 wanted it to do,
 but not what I need it to do

 Specifically, I need to manually re-import the file system
 structure of a
 web site built on OS/390 Unix system services to which the developer
 destroyed his 'frontpage' source. The import website thing
 only follows
 links and he has some JavaScript built menus and crap, and
 cannot get the
 whole thing back properly. We want to re-deploy this to z/Linux (minor
 changes to scripts required)

 I had looked into having FTP recursively navigate a directory
 structure and
 re-created it on his desktop but I can't seem to see how to
 do that. So I
 was going to just tar the whole thing but the I realized the
 text based
 files  will be EBCDIC, so that's kinda useless.

 What is the easiest way to bring this USS installed directory
 structure
 into windows so we can used the developer's favorite (gack) tool to
 redeploy this to z/Linux?



Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread John Rowland
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\froman\fprq2\fcharset0 Bookman Old Style;}}
{\colortbl ;\red0\green0\blue0;}
\viewkind4\uc1\pard\cf1\f0\fs24 You can use the pax command on USS to translate the text files while creating a tar file.  For example:\par
\par
pax -wvf mypax.tar -ofrom=ibm-1047,to=iso8859-1 files\par
\par
Then FTP the mypax.tar file to the PC and use something like WinZip to expand the files out of the tar/pax.\par
\par
~\par
John Rowland\par
Fischer International Systems Corporation\par
www.fischerinternational.com\par
239 436 2751\par
\par
\par
}

Received: from -- none -- (10.102.35.35) by fisc.com (FISC HDT v1.0g1 SMTP gateway for 
Unix System Services)
with ESMTP id gcsnt.fisc.com; Friday, 07 Nov 2003 16:20:07 GMT
Received: from mailer390.marist.edu ([148.100.80.47])
by gcsnt.fisc.com (Merak 6.2.1) with ESMTP id COA37610
for [EMAIL PROTECTED]; Fri, 07 Nov 2003 11:23:41 -0500
Received: from VM.MARIST.EDU (vm.marist.edu [148.100.80.40])
by mailer390.marist.edu (Postfix) with ESMTP
id D48321275F; Fri,  7 Nov 2003 11:23:18 -0500 (EST)
Received:  by VM.MARIST.EDU (IBM VM SMTP Level 430) via spool with SMTP id 7682 ; Fri, 
07 Nov 2003 11:23:45 EDT
Received: from VM.MARIST.EDU (NJE origin [EMAIL PROTECTED]) by VM.MARIST.EDU (LMail 
V1.2b/1.8b) with BSMTP id 6640; Fri, 7 Nov 2003 11:23:46 -0500
Received: from VM.MARIST.EDU by VM.MARIST.EDU (LISTSERV release 1.8e) with NJE
  id 0222 for [EMAIL PROTECTED]; Fri, 7 Nov 2003 11:23:45 -0500
Received: from MARIST (NJE origin [EMAIL PROTECTED]) by VM.MARIST.EDU (LMail
  V1.2b/1.8b) with BSMTP id 6634; Fri, 7 Nov 2003 11:23:45 -0500
Received: from ahmler1.mail.eds.com [192.85.154.71] by VM.MARIST.EDU (IBM VM
  SMTP Level 430) via TCP with SMTP ; Fri, 07 Nov 2003 11:23:44 EST
Received: from ahmlir4.mail.eds.com (ahmlir4-2.mail.eds.com [192.85.154.134])
  by ahmler1.mail.eds.com (8.12.10/8.12.9) with ESMTP id hA7GNEEA001265
  for [EMAIL PROTECTED]; Fri, 7 Nov 2003 11:23:14 -0500
Received: from ahmlir4.mail.eds.com (localhost [127.0.0.1]) by
  ahmlir4.mail.eds.com (8.11.6p3/8.11.6) with ESMTP id hA7GNEP18436 for
  [EMAIL PROTECTED]; Fri, 7 Nov 2003 11:23:14 -0500
Received: from usahm101.exmi01.exch.eds.com (usahm101.exmi01.exch.eds.com
  [207.37.138.189]) by ahmlir4.mail.eds.com (8.11.6p3/8.11.6) with
  ESMTP id hA7GNEf18430 for [EMAIL PROTECTED]; Fri, 7 Nov 2003
  11:23:14 -0500
Received: by usahm101.exmi01.exch.eds.com with Internet Mail Service
  (5.5.2657.72) id WADMK27Y; Fri, 7 Nov 2003 11:23:14 -0500
X-Mailer: Internet Mail Service (5.5.2657.72)
Approved-By:  Post, Mark K [EMAIL PROTECTED]
Message-ID:  [EMAIL PROTECTED]
Date: Fri, 7 Nov 2003 11:23:09 -0500
Reply-To: [EMAIL PROTECTED]
Sender: [EMAIL PROTECTED]
From: [EMAIL PROTECTED]
Subject:Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after 
a command is run
To: [EMAIL PROTECTED]
Precedence: list
X-HDT-HopCount: 1


The wget command is one of my favorites, and it is available for Windows,
but from my reading of the man page, wget only does binary transfers, not
text/ASCII ones.  So, Jim would wind up with EBCDIC on his Linux/390 system,
not ASCII.


Mark Post

-Original Message-
From: McKown, John [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


On z/Linux, use the wget command. It will do recursive ftp gets. On
Windows, you are on your own grin. Of course, you could use wget to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle it
up, then ftp to get the tar file to Windows.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 8:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see anything after a command is run


 Actually, it occurs to me that this will do exactly what I
 wanted it to do,
 but not what I need it to do

 Specifically, I need to manually re-import the file system
 structure of a
 web site built on OS/390 Unix system services to which the developer
 destroyed his 'frontpage' source. The import website thing
 only follows
 links and he has some JavaScript built menus and crap, and
 cannot get the
 whole thing back properly. We want 

Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread Post, Mark K
Jim,

You can use the pax command to do the conversion on the USS side.


Mark Post

-Original Message-
From: James Melin [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 9:55 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
anything after a command is run


Actually, it occurs to me that this will do exactly what I wanted it to do,
but not what I need it to do

Specifically, I need to manually re-import the file system structure of a
web site built on OS/390 Unix system services to which the developer
destroyed his 'frontpage' source. The import website thing only follows
links and he has some JavaScript built menus and crap, and cannot get the
whole thing back properly. We want to re-deploy this to z/Linux (minor
changes to scripts required)

I had looked into having FTP recursively navigate a directory structure and
re-created it on his desktop but I can't seem to see how to do that. So I
was going to just tar the whole thing but the I realized the  text based
files  will be EBCDIC, so that's kinda useless.

What is the easiest way to bring this USS installed directory structure
into windows so we can used the developer's favorite (gack) tool to
redeploy this to z/Linux?


|-+
| |   McKown, John   |
| |   [EMAIL PROTECTED]|
| |   insctr.com  |
| |   Sent by: Linux on|
| |   390 Port |
| |   [EMAIL PROTECTED]|
| |   IST.EDU |
| ||
| ||
| |   11/06/2003 03:20 |
| |   PM   |
| |   Please respond to|
| |   Linux on 390 Port|
| ||
|-+

---
---|
  |
|
  |   To:   [EMAIL PROTECTED]
|
  |   cc:
|
  |   Subject:  Re: Brain fart - redirect stderr/std out to a file and
NOT see an ything after a command is run  |

---
---|




James,

That doesn't work. Why? First, the shell redirects STDERR to *the current
STDOUT destination*, you then redirect STDOUT. Try:

tar -cvzf $HOME/hawkweb.tar /it  /u/sy4080/tarmessages.txt 21


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 06, 2003 3:17 PM
 To: [EMAIL PROTECTED]
 Subject: Brain fart - redirect stderr/std out to a file and
 NOT see anything after a command is run


 I am trying to re-direct output from tar  - the whole list of
 what it's
 archiving to a file so I don't see it on my terminal session.

 I've tried variations of  tar -cvzf $HOME/hawkweb.tar /it  21
 /u/sy4080/tarmessages.txt   but I still get teh huge spew and
 nothing in
 the file. What did I not remember?



Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread McKown, John
I didn't realize that. Well how about doing the wget to get the entire
directory structure from MVS. You now have a directory structure in EBCDIC.
Do something like:

mkdir /waga

mkdir /waga/ebcdic

mkdir /waga/ascii

cd /waga/ebcdic

wget ...

for i in $(find . -name '*');do iconv -f IBM1047 -t ISO-8859-1 $i -o
../ascii/$i

cd /waga

rm -r ebcdic


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: Post, Mark K [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 10:23 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see an ything after a command is run


 The wget command is one of my favorites, and it is available
 for Windows,
 but from my reading of the man page, wget only does binary
 transfers, not
 text/ASCII ones.  So, Jim would wind up with EBCDIC on his
 Linux/390 system,
 not ASCII.


 Mark Post

 -Original Message-
 From: McKown, John [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 10:37 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see
 an ything after a command is run


 On z/Linux, use the wget command. It will do recursive ftp
 gets. On
 Windows, you are on your own grin. Of course, you could use
 wget to get
 it to Linux (converting to ASCII), then use zip or tar on
 Linux to bundle it
 up, then ftp to get the tar file to Windows.


 --
 John McKown
 Senior Systems Programmer
 UICI Insurance Center
 Applications  Solutions Team
 +1.817.255.3225

 This message (including any attachments) contains
 confidential information
 intended for a specific individual and purpose, and its' content is
 protected by law.  If you are not the intended recipient, you
 should delete
 this message and are hereby notified that any disclosure, copying, or
 distribution of this transmission, or taking any action based
 on it, is
 strictly prohibited.

  -Original Message-
  From: James Melin [mailto:[EMAIL PROTECTED]
  Sent: Friday, November 07, 2003 8:55 AM
  To: [EMAIL PROTECTED]
  Subject: Re: Brain fart - redirect stderr/std out to a file
  and NOT see anything after a command is run
 
 
  Actually, it occurs to me that this will do exactly what I
  wanted it to do,
  but not what I need it to do
 
  Specifically, I need to manually re-import the file system
  structure of a
  web site built on OS/390 Unix system services to which the developer
  destroyed his 'frontpage' source. The import website thing
  only follows
  links and he has some JavaScript built menus and crap, and
  cannot get the
  whole thing back properly. We want to re-deploy this to
 z/Linux (minor
  changes to scripts required)
 
  I had looked into having FTP recursively navigate a directory
  structure and
  re-created it on his desktop but I can't seem to see how to
  do that. So I
  was going to just tar the whole thing but the I realized the
  text based
  files  will be EBCDIC, so that's kinda useless.
 
  What is the easiest way to bring this USS installed directory
  structure
  into windows so we can used the developer's favorite (gack) tool to
  redeploy this to z/Linux?
 



Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread Fargusson.Alan
I did a small test of mget from z/OS Unix to Windows 2000 using the command line, and 
text mode seems to work for me.

-Original Message-
From: Post, Mark K [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 8:23 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


The wget command is one of my favorites, and it is available for Windows,
but from my reading of the man page, wget only does binary transfers, not
text/ASCII ones.  So, Jim would wind up with EBCDIC on his Linux/390 system,
not ASCII.


Mark Post

-Original Message-
From: McKown, John [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


On z/Linux, use the wget command. It will do recursive ftp gets. On
Windows, you are on your own grin. Of course, you could use wget to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle it
up, then ftp to get the tar file to Windows.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 8:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see anything after a command is run


 Actually, it occurs to me that this will do exactly what I
 wanted it to do,
 but not what I need it to do

 Specifically, I need to manually re-import the file system
 structure of a
 web site built on OS/390 Unix system services to which the developer
 destroyed his 'frontpage' source. The import website thing
 only follows
 links and he has some JavaScript built menus and crap, and
 cannot get the
 whole thing back properly. We want to re-deploy this to z/Linux (minor
 changes to scripts required)

 I had looked into having FTP recursively navigate a directory
 structure and
 re-created it on his desktop but I can't seem to see how to
 do that. So I
 was going to just tar the whole thing but the I realized the
 text based
 files  will be EBCDIC, so that's kinda useless.

 What is the easiest way to bring this USS installed directory
 structure
 into windows so we can used the developer's favorite (gack) tool to
 redeploy this to z/Linux?



Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread Dennis Wicks
Greetings;

wget should work. The pages are served in ASCII by the server
else they would be gibberish to any ascii machine receiving
them.

And, yes, I just tried it. Works great and quickly.

One problem you might encounter is when the pages use SSI
or pages are generated by cgi programs. Then wget will get
the results that are sent, not the source to the commands
or programs that greated them. However, you can point wget
directly at the subject script and get it that way ... usually.
I have yet to identify the specific cases where this does not work!

Good Luck!
Dennis




Post, Mark K
[EMAIL PROTECTED]   To: [EMAIL PROTECTED]
com  cc:
Sent by: LinuxSubject: Re: Brain fart - redirect 
stderr/std out to a file and NOT see an ything after
on 390 Porta command is run
[EMAIL PROTECTED]
ARIST.EDU


11/07/2003
10:23 AM
Please respond
to Linux on 390
Port






The wget command is one of my favorites, and it is available for Windows,
but from my reading of the man page, wget only does binary transfers, not
text/ASCII ones.  So, Jim would wind up with EBCDIC on his Linux/390
system,
not ASCII.


Mark Post

-Original Message-
From: McKown, John [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


On z/Linux, use the wget command. It will do recursive ftp gets. On
Windows, you are on your own grin. Of course, you could use wget to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle
it
up, then ftp to get the tar file to Windows.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 8:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see anything after a command is run


 Actually, it occurs to me that this will do exactly what I
 wanted it to do,
 but not what I need it to do

 Specifically, I need to manually re-import the file system
 structure of a
 web site built on OS/390 Unix system services to which the developer
 destroyed his 'frontpage' source. The import website thing
 only follows
 links and he has some JavaScript built menus and crap, and
 cannot get the
 whole thing back properly. We want to re-deploy this to z/Linux (minor
 changes to scripts required)

 I had looked into having FTP recursively navigate a directory
 structure and
 re-created it on his desktop but I can't seem to see how to
 do that. So I
 was going to just tar the whole thing but the I realized the
 text based
 files  will be EBCDIC, so that's kinda useless.

 What is the easiest way to bring this USS installed directory
 structure
 into windows so we can used the developer's favorite (gack) tool to
 redeploy this to z/Linux?



Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread Post, Mark K
That's if you access them via HTTP.  Not FTP, which is what was being
discussed, for the very reason you mention.  CGI, JSP, etc. files wanted,
but not accessible via HTTP.


Mark Post

-Original Message-
From: Dennis Wicks [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 12:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


Greetings;

wget should work. The pages are served in ASCII by the server
else they would be gibberish to any ascii machine receiving
them.

And, yes, I just tried it. Works great and quickly.

One problem you might encounter is when the pages use SSI
or pages are generated by cgi programs. Then wget will get
the results that are sent, not the source to the commands
or programs that greated them. However, you can point wget
directly at the subject script and get it that way ... usually.
I have yet to identify the specific cases where this does not work!

Good Luck!
Dennis




Post, Mark K
[EMAIL PROTECTED]   To: [EMAIL PROTECTED]
com  cc:
Sent by: LinuxSubject: Re: Brain fart -
redirect stderr/std out to a file and NOT see an ything after
on 390 Porta command is run
[EMAIL PROTECTED]
ARIST.EDU


11/07/2003
10:23 AM
Please respond
to Linux on 390
Port






The wget command is one of my favorites, and it is available for Windows,
but from my reading of the man page, wget only does binary transfers, not
text/ASCII ones.  So, Jim would wind up with EBCDIC on his Linux/390
system,
not ASCII.


Mark Post

-Original Message-
From: McKown, John [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


On z/Linux, use the wget command. It will do recursive ftp gets. On
Windows, you are on your own grin. Of course, you could use wget to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle
it
up, then ftp to get the tar file to Windows.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 8:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see anything after a command is run


 Actually, it occurs to me that this will do exactly what I
 wanted it to do,
 but not what I need it to do

 Specifically, I need to manually re-import the file system
 structure of a
 web site built on OS/390 Unix system services to which the developer
 destroyed his 'frontpage' source. The import website thing
 only follows
 links and he has some JavaScript built menus and crap, and
 cannot get the
 whole thing back properly. We want to re-deploy this to z/Linux (minor
 changes to scripts required)

 I had looked into having FTP recursively navigate a directory
 structure and
 re-created it on his desktop but I can't seem to see how to
 do that. So I
 was going to just tar the whole thing but the I realized the
 text based
 files  will be EBCDIC, so that's kinda useless.

 What is the easiest way to bring this USS installed directory
 structure
 into windows so we can used the developer's favorite (gack) tool to
 redeploy this to z/Linux?



Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread James Melin
Well Crap. What about some obtusely complex command line thing that would
extend the tarball by file type and convert known text formats using iconv
and piping it through tar or what not ? Or am I making it to complex
theoretically?



|-+
| |   Post, Mark K   |
| |   [EMAIL PROTECTED]|
| |   m   |
| |   Sent by: Linux on|
| |   390 Port |
| |   [EMAIL PROTECTED]|
| |   IST.EDU |
| ||
| ||
| |   11/07/2003 10:23 |
| |   AM   |
| |   Please respond to|
| |   Linux on 390 Port|
| ||
|-+
  
--|
  |
  |
  |   To:   [EMAIL PROTECTED]  
|
  |   cc:  
  |
  |   Subject:  Re: Brain fart - redirect stderr/std out to a file and NOT see an 
ything after a command is run  |
  
--|




The wget command is one of my favorites, and it is available for Windows,
but from my reading of the man page, wget only does binary transfers, not
text/ASCII ones.  So, Jim would wind up with EBCDIC on his Linux/390
system,
not ASCII.


Mark Post

-Original Message-
From: McKown, John [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


On z/Linux, use the wget command. It will do recursive ftp gets. On
Windows, you are on your own grin. Of course, you could use wget to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle
it
up, then ftp to get the tar file to Windows.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 8:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see anything after a command is run


 Actually, it occurs to me that this will do exactly what I
 wanted it to do,
 but not what I need it to do

 Specifically, I need to manually re-import the file system
 structure of a
 web site built on OS/390 Unix system services to which the developer
 destroyed his 'frontpage' source. The import website thing
 only follows
 links and he has some JavaScript built menus and crap, and
 cannot get the
 whole thing back properly. We want to re-deploy this to z/Linux (minor
 changes to scripts required)

 I had looked into having FTP recursively navigate a directory
 structure and
 re-created it on his desktop but I can't seem to see how to
 do that. So I
 was going to just tar the whole thing but the I realized the
 text based
 files  will be EBCDIC, so that's kinda useless.

 What is the easiest way to bring this USS installed directory
 structure
 into windows so we can used the developer's favorite (gack) tool to
 redeploy this to z/Linux?



Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread James Melin




How does pax know what to convert and what to keep?



|-+
| |   John Rowland |
| |   [EMAIL PROTECTED]|
| |   c.com   |
| |   Sent by: Linux on|
| |   390 Port |
| |   [EMAIL PROTECTED]|
| |   IST.EDU |
| ||
| ||
| |   11/07/2003 10:27 |
| |   AM   |
| |   Please respond to|
| |   Linux on 390 Port|
| ||
|-+
  
--|
  |
  |
  |   To:   [EMAIL PROTECTED]  
|
  |   cc:  
  |
  |   Subject:  Re: Brain fart - redirect stderr/std out to a file and NOT see an 
ything after a command is run  |
  
--|




You can use the pax command on USS to translate the text files while
creating
a tar file.  For example:

pax -wvf mypax.tar -ofrom=ibm-1047,to=iso8859-1 files

Then FTP the mypax.tar file to the PC and use something like WinZip to
expand
the files out of the tar/pax.

~
John Rowland
Fischer International Systems Corporation
www.fischerinternational.com
239 436 2751

- snip of mail headers that were in here ---

From: [EMAIL PROTECTED]
Subject:Re: Brain fart - redirect stderr/std out to a file and NOT see an
ything after a command is run
To: [EMAIL PROTECTED]
Precedence: list
X-HDT-HopCount: 1


The wget command is one of my favorites, and it is available for Windows,
but from my reading of the man page, wget only does binary transfers, not
text/ASCII ones.  So, Jim would wind up with EBCDIC on his Linux/390
system,
not ASCII.


Mark Post

-Original Message-
From: McKown, John [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


On z/Linux, use the wget command. It will do recursive ftp gets. On
Windows, you are on your own grin. Of course, you could use wget to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle
it
up, then ftp to get the tar file to Windows.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 8:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see anything after a command is run


 Actually, it occurs to me that this will do exactly what I
 wanted it to do,
 but not what I need it to do

 Specifically, I need to manually re-import the file system
 structure of a
 web site built on OS/390 Unix system services to which the developer
 destroyed his 'frontpage' source. The import website thing
 only follows
 links and he has some JavaScript built menus and crap, and
 cannot get the
 whole thing back properly. We want to re-deploy this to z/Linux (minor
 changes to scripts required)

 I had looked into having FTP recursively navigate a directory
 structure and
 re-created it on his desktop but I can't seem to see how to
 do that. So I
 was going to just tar the whole thing but the I realized the
 text based
 files  will be EBCDIC, so that's kinda useless.

 What is the easiest way to bring this USS installed directory
 structure
 into windows so we can used the developer's favorite (gack) tool to
 redeploy this to z/Linux?




TEXT.RTF
Description: RTF file


Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread Adam Thornton
On Fri, 2003-11-07 at 13:11, James Melin wrote:
 Well Crap. What about some obtusely complex command line thing that would
 extend the tarball by file type and convert known text formats using iconv
 and piping it through tar or what not ? Or am I making it to complex
 theoretically?

I think you're making it too complex.

Your ftp server will do text files in ASCII mode, right?

So, get ncftp (I'm sure there's a cygwin port, so you can install it
under Windows too), and do something like

ncftp site
cd /directory
ascii
get -R tree

Or, for that matter, I'm sure there are Windows-native FTP interfaces
that both let you set ASCII mode and slurp a whole tree at a time.

Adam


Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread Post, Mark K
Good question, for which I have no good answer.  If you have a mixture of
text and binary files, I don't know what would happen to the binary files.


Mark Post

-Original Message-
From: James Melin [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 2:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run






How does pax know what to convert and what to keep?



|-+
| |   John Rowland |
| |   [EMAIL PROTECTED]|
| |   c.com   |
| |   Sent by: Linux on|
| |   390 Port |
| |   [EMAIL PROTECTED]|
| |   IST.EDU |
| ||
| ||
| |   11/07/2003 10:27 |
| |   AM   |
| |   Please respond to|
| |   Linux on 390 Port|
| ||
|-+

---
---|
  |
|
  |   To:   [EMAIL PROTECTED]
|
  |   cc:
|
  |   Subject:  Re: Brain fart - redirect stderr/std out to a file and
NOT see an ything after a command is run  |

---
---|




You can use the pax command on USS to translate the text files while
creating
a tar file.  For example:

pax -wvf mypax.tar -ofrom=ibm-1047,to=iso8859-1 files

Then FTP the mypax.tar file to the PC and use something like WinZip to
expand
the files out of the tar/pax.

~
John Rowland
Fischer International Systems Corporation
www.fischerinternational.com
239 436 2751

- snip of mail headers that were in here ---

From: [EMAIL PROTECTED]
Subject:Re: Brain fart - redirect stderr/std out to a file and NOT see an
ything after a command is run
To: [EMAIL PROTECTED]
Precedence: list
X-HDT-HopCount: 1


The wget command is one of my favorites, and it is available for Windows,
but from my reading of the man page, wget only does binary transfers, not
text/ASCII ones.  So, Jim would wind up with EBCDIC on his Linux/390
system,
not ASCII.


Mark Post

-Original Message-
From: McKown, John [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


On z/Linux, use the wget command. It will do recursive ftp gets. On
Windows, you are on your own grin. Of course, you could use wget to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle
it
up, then ftp to get the tar file to Windows.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 8:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see anything after a command is run


 Actually, it occurs to me that this will do exactly what I
 wanted it to do,
 but not what I need it to do

 Specifically, I need to manually re-import the file system
 structure of a
 web site built on OS/390 Unix system services to which the developer
 destroyed his 'frontpage' source. The import website thing
 only follows
 links and he has some JavaScript built menus and crap, and
 cannot get the
 whole thing back properly. We want to re-deploy this to z/Linux (minor
 changes to scripts required)

 I had looked into having FTP recursively navigate a directory
 structure and
 re-created it on his desktop but I can't seem to see how to
 do that. So I
 was going to just tar the whole thing but the I realized the
 text based
 files  will be EBCDIC, so that's kinda useless.

 What is the easiest way to bring this USS installed directory
 structure
 into windows so we can used the developer's favorite (gack) tool to
 redeploy this to z/Linux?



Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread Dennis Wicks
Greetings;

I guess I missed the ftp requirement in the post I replied to.

Is ftp a requirement? If not can you use NFS on USS?

NFS would solve a lot of problems. All you would need to do is
export the file system, then mount it (Map Network Drive in
Windows-speak) on your desktop. Then all the copying is quickly
performed with the drag-and-drop GUI operation that all Windows
users know and love!

BTW, Re: the subject line. I think that would be brain fault
as in memory fault, page fault and processor fault. While some
of our Far Eastern friends might pronounce it that way, I doubt
they would write it that way.

Good Luck!
Dennis




Post, Mark K
[EMAIL PROTECTED]   To: [EMAIL PROTECTED]
com  cc:
Sent by: LinuxSubject: Re: Brain fart - redirect 
stderr/std out to a file and NOT see an ything after
on 390 Porta command is run
[EMAIL PROTECTED]
ARIST.EDU


11/07/2003
11:12 AM
Please respond
to Linux on 390
Port






That's if you access them via HTTP.  Not FTP, which is what was being
discussed, for the very reason you mention.  CGI, JSP, etc. files wanted,
but not accessible via HTTP.


Mark Post

-Original Message-
From: Dennis Wicks [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 12:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


Greetings;

wget should work. The pages are served in ASCII by the server
else they would be gibberish to any ascii machine receiving
them.

And, yes, I just tried it. Works great and quickly.

One problem you might encounter is when the pages use SSI
or pages are generated by cgi programs. Then wget will get
the results that are sent, not the source to the commands
or programs that greated them. However, you can point wget
directly at the subject script and get it that way ... usually.
I have yet to identify the specific cases where this does not work!

Good Luck!
Dennis




Post, Mark K
[EMAIL PROTECTED]   To: [EMAIL PROTECTED]
com  cc:
Sent by: LinuxSubject: Re: Brain fart -
redirect stderr/std out to a file and NOT see an ything after
on 390 Porta command is run
[EMAIL PROTECTED]
ARIST.EDU


11/07/2003
10:23 AM
Please respond
to Linux on 390
Port






The wget command is one of my favorites, and it is available for Windows,
but from my reading of the man page, wget only does binary transfers, not
text/ASCII ones.  So, Jim would wind up with EBCDIC on his Linux/390
system,
not ASCII.


Mark Post

-Original Message-
From: McKown, John [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


On z/Linux, use the wget command. It will do recursive ftp gets. On
Windows, you are on your own grin. Of course, you could use wget to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle
it
up, then ftp to get the tar file to Windows.


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Friday, November 07, 2003 8:55 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Brain fart - redirect stderr/std out to a file
 and NOT see anything after a command is run


 Actually, it occurs to me that this will do exactly what I
 wanted it to do,
 but not what I need it to do

 Specifically, I need to manually re-import the file system
 structure of a
 web site built on OS/390 Unix system services to which the developer
 destroyed his 'frontpage' source. The import website thing
 only follows
 links and he has some JavaScript built menus and crap, and
 cannot get the
 whole thing back properly. We want to re-deploy this to z/Linux (minor
 changes to scripts required)

 I had looked into having FTP recursively navigate a directory
 structure and
 re-created it on his desktop but I can't seem to see how to
 do that. So I
 was going to just tar the whole 

Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread Michael MacIsaac
 If you have a mixture of text and binary files, I don't
 know what would happen to the binary files.

A long time ago I wrote a script to run on USS and unpax based on file
extension.
It's kludgy I know, but it seemed to work:

   # cat /usr/local/bin/ext
   function usage
   {
 echo Usage: `basename $0` [-v] archive
 echo   where 'archive' is a tar/pax file
 echo -v - verbose mode
 echo 
 echo Extract files from archive as text and re-extract binary files
   with suffixes:
 echo .ico .bmp .jpg .gif .Z .gz .tzg .class
 exit
   }

   paxFlags=-rf
   if [ $# -eq 0 -o $# -gt 2 ]; then
 usage
   elif [ $# = 2 ]; then
 if  [ $1 = -v ]; then
   paxFlags=-rvf
 fi
 shift
   fi

   # first extract with conversion
   if [ $paxFlags = -rvf ]; then
 echo extracting with -o to=IBM-1047,from=ISO8859-1 flag ...
 echo --
   fi
   pax $paxFlags $1 -o to=IBM-1047,from=ISO8859-1

   # capture the names of all binary files
   binaryFiles=`pax -f $1 | awk
   '/.ico$|.bmp$|.jpg$|.gif$|.Z$|.gz$|.tgz$|.class$/ {print $0}'`

   # re-extract binary files with no conversion
   if [ $binaryFiles ]; then
 if [ $paxFlags = -rvf ]; then
   echo re-extracting the following in binary ...
   echo -
   echo $binaryFiles
 fi
   else
 echo No binary files found
   fi
   pax -rf $1 $binaryFiles 2/dev/null

You might modify it to go in the opposite direction.

  -Mike MacIsaac, IBM  mikemac at us.ibm.com   (845) 433-7061


Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-07 Thread James Melin
Setting up NFS might be easier than doing what I'm trying to do.



|-+
| |   Dennis Wicks |
| |   [EMAIL PROTECTED] |
| |   Sent by: Linux on|
| |   390 Port |
| |   [EMAIL PROTECTED]|
| |   IST.EDU |
| ||
| ||
| |   11/07/2003 02:13 |
| |   PM   |
| |   Please respond to|
| |   Linux on 390 Port|
| ||
|-+
  
--|
  |
  |
  |   To:   [EMAIL PROTECTED]  
|
  |   cc:  
  |
  |   Subject:  Re: Brain fart - redirect stderr/std out to a file and NOT see an 
ything after a command is run  |
  
--|




Greetings;

I guess I missed the ftp requirement in the post I replied to.

Is ftp a requirement? If not can you use NFS on USS?

NFS would solve a lot of problems. All you would need to do is
export the file system, then mount it (Map Network Drive in
Windows-speak) on your desktop. Then all the copying is quickly
performed with the drag-and-drop GUI operation that all Windows
users know and love!

BTW, Re: the subject line. I think that would be brain fault
as in memory fault, page fault and processor fault. While some
of our Far Eastern friends might pronounce it that way, I doubt
they would write it that way.

Good Luck!
Dennis




Post, Mark K
[EMAIL PROTECTED]   To: [EMAIL PROTECTED]
com  cc:
Sent by: LinuxSubject: Re: Brain fart -
redirect stderr/std out to a file and NOT see an ything after
on 390 Porta command is run
[EMAIL PROTECTED]
ARIST.EDU


11/07/2003
11:12 AM
Please respond
to Linux on 390
Port






That's if you access them via HTTP.  Not FTP, which is what was being
discussed, for the very reason you mention.  CGI, JSP, etc. files wanted,
but not accessible via HTTP.


Mark Post

-Original Message-
From: Dennis Wicks [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 12:08 PM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


Greetings;

wget should work. The pages are served in ASCII by the server
else they would be gibberish to any ascii machine receiving
them.

And, yes, I just tried it. Works great and quickly.

One problem you might encounter is when the pages use SSI
or pages are generated by cgi programs. Then wget will get
the results that are sent, not the source to the commands
or programs that greated them. However, you can point wget
directly at the subject script and get it that way ... usually.
I have yet to identify the specific cases where this does not work!

Good Luck!
Dennis




Post, Mark K
[EMAIL PROTECTED]   To: [EMAIL PROTECTED]
com  cc:
Sent by: LinuxSubject: Re: Brain fart -
redirect stderr/std out to a file and NOT see an ything after
on 390 Porta command is run
[EMAIL PROTECTED]
ARIST.EDU


11/07/2003
10:23 AM
Please respond
to Linux on 390
Port






The wget command is one of my favorites, and it is available for Windows,
but from my reading of the man page, wget only does binary transfers, not
text/ASCII ones.  So, Jim would wind up with EBCDIC on his Linux/390
system,
not ASCII.


Mark Post

-Original Message-
From: McKown, John [mailto:[EMAIL PROTECTED]
Sent: Friday, November 07, 2003 10:37 AM
To: [EMAIL PROTECTED]
Subject: Re: Brain fart - redirect stderr/std out to a file and NOT see
an ything after a command is run


On z/Linux, use the wget command. It will do recursive ftp gets. On
Windows, you are on your own grin. Of course, you could use wget to get
it to Linux (converting to ASCII), then use zip or tar on Linux to bundle
it
up, then ftp to 

Re: Brain fart - redirect stderr/std out to a file and NOT see an ything after a command is run

2003-11-06 Thread McKown, John
James,

That doesn't work. Why? First, the shell redirects STDERR to *the current
STDOUT destination*, you then redirect STDOUT. Try:

tar -cvzf $HOME/hawkweb.tar /it  /u/sy4080/tarmessages.txt 21


--
John McKown
Senior Systems Programmer
UICI Insurance Center
Applications  Solutions Team
+1.817.255.3225

This message (including any attachments) contains confidential information
intended for a specific individual and purpose, and its' content is
protected by law.  If you are not the intended recipient, you should delete
this message and are hereby notified that any disclosure, copying, or
distribution of this transmission, or taking any action based on it, is
strictly prohibited.

 -Original Message-
 From: James Melin [mailto:[EMAIL PROTECTED]
 Sent: Thursday, November 06, 2003 3:17 PM
 To: [EMAIL PROTECTED]
 Subject: Brain fart - redirect stderr/std out to a file and
 NOT see anything after a command is run


 I am trying to re-direct output from tar  - the whole list of
 what it's
 archiving to a file so I don't see it on my terminal session.

 I've tried variations of  tar -cvzf $HOME/hawkweb.tar /it  21
 /u/sy4080/tarmessages.txt   but I still get teh huge spew and
 nothing in
 the file. What did I not remember?