bash: Run readline command on a string -
readline takes input terminal, , commands mapped key presses.
is possible call readline command given string , simulating cursor position within string?
for example, how call kill-word command on string: these words, simulating position of "cursor" on letter a, , returning string these words?
is possible simulate cursor position residing between 2 space characters?
Comments
Post a Comment