Read-only forum archive

Read ssi link without echo

Read ssi link without echo

Guest · 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

Re: Read ssi link without echo

Guest · Thu Jul 02, 2015 12:12 am

Ah, nevermind. I need to do
Code:
kill p; poly p = read(p_ssi);