Please use ***[code][/code]
*** tags around your code and data, to preserve the original formatting and to improve readability. Do not
use quote tags, bolding, colors, "start/end" lines, or other creative techniques.
You've have almost a hundred posts here. I think you should know this by now.
Now to answer the opening question: In bash
, use the -e
option in read
to tell it to use the readline
library. This will give it the full range of editing features, including tab completion.