Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Read ssi link without echo
PostPosted: Wed Jul 01, 2015 11:57 pm 
I have some large polynomials on the order ~10MB in ASCII format that I've converted into SSI format since it is faster to read and storage is lower. Is there a way to read in an SSI link without having the input echoed to the console? Here is an example:
Code:
                     SINGULAR                                 /  Development
A Computer Algebra System for Polynomial Computations       /   version 4.0.2
                                                           0<
by: W. Decker, G.-M. Greuel, G. Pfister, H. Schoenemann     \   Feb 2015
FB Mathematik der Universitaet, D-67653 Kaiserslautern        \
> ring R = 0, x(1..2), dp;
> poly p = x(1)^2 - x(2)^2;
> link p_ssi = "ssi:w test.ssi";
> write(p_ssi, p);
> close(p_ssi);
> read(p_ssi);
x(1)^2-x(2)^2
How do I prevent the contents of my SSI link, "x(1)^2-x(2)^2", from being printed after reading? Regards,
Eric


Report this post
Top
  
Reply with quote  
 Post subject: Re: Read ssi link without echo
PostPosted: Thu Jul 02, 2015 12:12 am 
Ah, nevermind. I need to do
Code:
kill p; poly p = read(p_ssi);


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 11:04 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group