[Scilab-users] how to read huge ascii files

Paul CARRICO paul.carrico at free.fr
Mon Dec 30 10:05:14 CET 2013


Thanks Denis

 

‘sed’ ‘awk’ and ‘grep’ as well seem to be promising for this purpose (either in a batch file or directly within scilab)  … thanks for this advice

 

Paul

 

De : users [mailto:users-bounces at lists.scilab.org] De la part de CRETE Denis
Envoyé : dimanche 29 décembre 2013 23:49
À : International users mailing list for Scilab.
Objet : Re: [Scilab-users] how to read huge ascii files

 

Hello,

To read only parts of a huge ASCII file,I use an external filter based on ‘sed’ (or ‘gawk’) called by SciLab with ‘unix_g’... it is fast and very flexible.  

HTH

Denis

 

De : users [mailto:users-bounces at lists.scilab.org] De la part de Paul CARRICO
Envoyé : dimanche 29 décembre 2013 23:25
À : users at lists.scilab.org
Objet : [Scilab-users] how to read huge ascii files

 

Dear All

 

How can I read and record huge ascii file when  mgetl leads to memory troubles (even using stacksize('max'))  ? it it possible to  split it ?

 

I’m speaking about an ascii file wherein there’s a lot of irrelevant comments/texts/blanks  etc. … ?

 

Thanks for any advice

 

Happy new year

 

Paul

 

 

  _____  


 <http://www.avast.com/> Image supprimée par l'expéditeur.

Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection Antivirus avast! <http://www.avast.com/>  est active. 

 



---
Ce courrier électronique ne contient aucun virus ou logiciel malveillant parce que la protection avast! Antivirus est active.
http://www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20131230/ab048a15/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 823 bytes
Desc: not available
URL: <https://lists.scilab.org/pipermail/users/attachments/20131230/ab048a15/attachment.jpg>


More information about the users mailing list