[kwlug-disc] my new favourite command

John Van Ostrand john at netdirect.ca
Thu Dec 2 15:49:20 EST 2010

----- Original Message -----
> Hi list,
> Just discovered the 'rlwrap' command. It is a wrapper that turns
> any command line oriented program into a readline-capable interface.
> For example, you can run netcat through rlwrap, and get history and
> command editing:
> rlwrap nc
> This also works for things like xboard when connecting to a chess
> server (this is where I first learned of it).
> What other new commands have people learned lately?

This is a side question. Is there another way to put readline functionality in a bash shell script?


while :
    read cmd

    case "$cmd" in

John Van Ostrand 
CTO, co-CEO 
Net Direct Inc. 
564 Weber St. N. Unit 12, Waterloo, ON N2L 5C6 
Ph: 866-883-1172 x5102 
Fx: 519-883-8533 

Linux Solutions / IBM Hardware 

More information about the kwlug-disc mailing list