QUESTION: 1) is this the most efficient way to do it in Mathematica, it's taking very long for my purposes on my files (note, the sample file above is small in comparison with the real data) 2) how can I call a command such as:
sed '52q;d' example
I am trying to do:
cmd= "!sed '52q;d' example"
but it's not working. I am not sure how to use << in such a way, nor how to mix characters such as ' and ".
Thanks in advance, any help appreciated, Ramiro p.s. by the way, the sed command above _seems_ to be faster on my files from the command line, that is why I have the option of using them.