Lines Matching full:words
37 # This function can be used to access a tokenized list of words
73 # re-assemble words to complete.
126 words)
127 words=("${words_[@]}")
275 …if [ -n "$argument_flags" ] && eval "case '${words[$counter]}' in $argument_flags) true ;; *) fals…
278 [ "${words[$counter]}" = "=" ] && (( counter++ ))
280 case "${words[$counter]}" in
289 # Bash splits words at "=", retaining "=" as a word, examples:
290 # "--debug=false" => 3 words, "--log-opt syslog-facility=daemon" => 4 words
291 while [ "${words[$counter + 1]}" = "=" ] ; do
316 key=${words[$cword - 2]} # key=value case
322 [ "${words[$glob_pos]}" = "=" ] && ((glob_pos--)) # --option=key=value syntax
324 [[ ${words[$glob_pos]} == @($glob) ]] && echo "$key"
337 case ${words[$counter]} in
339 echo "${words[$counter + 1]}"
348 # string with the words separated by `|`.
1248 local cur words cword prev
1249 _get_comp_words_by_ref -n : cur words cword prev
1254 case "${words[$counter]}" in
1267 command="${words[$counter]}"