Hallo SETH!
SH> So I'm using netcat as a telnet/mud client and irc client and on
SH> some sites I'm wondering how to remove the extra text that shows
SH> up on screen. I'm using a screen reader.
I am guessing that you are using a 32 bit version of windows which prompts me
to suggest you following this link;
http://gnuwin32.sourceforge.net/packages.html
Of most interest to your requirements would be sed and/or gawk. Having both is
of course the best plan of attack. Also, if you are really adventerous,
coreutils wouldn't hurt any especially 'tr' which is an app of that particular
package.
If you are using Linux then no need for the above since every half decent Linux
distribution has these packages already. The only exception might be gawk
which is replaced by mawk by some of the lesser distributions such as Debian
and it's bastard children (eg Ubuntu). :::evil grin:::
My particular read script for FTN packed MSG format, uses both sed and gawk
oneliners and I could have easily gotten away with gawk only but where is the
fun in that? ;-)
Het leven is goed,
Maurice
... Huil niet om mij, ik heb vi.
--- GNU bash, version 5.0.0(1)-rc1 (x86_64-bonnell-linux-gnu)
* Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)
|