Aha ok i see, cant really get it working here.
Im using a telnet session instead of ssh, so its a bit different.
Maybe i could just pipe all the output from the telnet session to file and then grep the parts i want.
I know i can grep a number of lines after a value but can i grep everything between two values ? like this:
want to grep
Can i grep everything starting from 2 ending at 4 ?
Thanks for all your help btw acid_kewpie! really need it