How does `Alt` determine which lines are a word in bash?

I can use Alt+f

, Alt+b

and a number of other commands Alt

to work with word

. But the concept word

is vague to me.

From my experience .

,

_

are a valid delimiter for a word, meanwhile '

not, but is there a clear document that tells us which delimiter is valid for word

in bash?

+3


source to share


1 answer


Bash (among other command line applications) uses a library called Readline to allow the user to enter commands. The shortcuts you mentioned are the Readline keyboard shortcuts (specifically, Readline mode in Emacs). You can check the documentation for Readline here .



The answer to your specific question is that the words "are made up of letters and numbers . "

+3


source







All Articles