s-news
[Top] [All Lists]

Re: How to genr report

To: Liu Zhigang <email.lzg@gmail.com>
Subject: Re: How to genr report
From: Stuart Luppescu <s-luppescu@uchicago.edu>
Date: Tue, 05 Aug 2008 10:13:47 -0500
Cc: s-news@lists.biostat.wustl.edu
In-reply-to: <551c2c780808042312s2afe8589kd97af3b5e3378b54@mail.gmail.com>
References: <551c2c780808042312s2afe8589kd97af3b5e3378b54@mail.gmail.com>
On 火, 2008-08-05 at 14:12 +0800, Liu Zhigang wrote:
> Dear all,
>         I am writing a S+ script program, when I run the script, the
> results and original script codes are printed in the window
>  below  the  script file window. My problem is how to print some
> results into a report file without the script codes.

If you're running on a Unix or Unix-like system, you can always do
something like this to get rid of the command prompts:

grep -v '^>' script.out > report.out

-- 
Stuart Luppescu -=- slu .at. ccsr.uchicago.edu        
University of Chicago -=- CCSR 
才文と智奈美の父 -=-    Kernel 2.6.24-gentoo-r8                
Spike: Willow, tell 'em what I did. Willow: You
 said you were gonna kill me, then Buffy. Spike:
 Yes, bad, but let's skip that part and get to  the
 part where I couldn't bite you. 
 
 
 
 
 

<Prev in Thread] Current Thread [Next in Thread>