Command reference
ed completions bash
Prints the bash completion script on stdout.
ed completions bashNo options of its own; --help and --version are generated.
Examples
ed completions bashed completions bash > ~/.local/share/bash-completion/completions/edIt defines _ed_complete, calls ed __complete --index "$COMP_CWORD" -- "${COMP_WORDS[@]}", expands a #files line with compgen -f, and ends with
complete -o bashdefault -F _ed_complete ed edith.
Where to go next
- Getting started with
ed, the rest of this group - All
edcommands