=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== bash-completion-2.11/CONTRIBUTING.md-76- Sometimes you don't even need sed(1) or other external programs at bash-completion-2.11/CONTRIBUTING.md:77: all, though. Use of constructs such as `${parameter#word}`, bash-completion-2.11/CONTRIBUTING.md:78: `${parameter%word}` and `${parameter/pattern/string}` can provide bash-completion-2.11/CONTRIBUTING.md-79- you a lot of power without having to leave the shell. bash-completion-2.11/CONTRIBUTING.md-80- bash-completion-2.11/CONTRIBUTING.md:81: For example, if `$foo` contains the path to an executable, bash-completion-2.11/CONTRIBUTING.md:82: `${foo##*/}` will give you the basename of the program, without bash-completion-2.11/CONTRIBUTING.md:83: having to call basename(1). Similarly, `${foo%/*}` will give you the bash-completion-2.11/CONTRIBUTING.md-84- dirname, without having to call dirname(1). ############################################## bash-completion-2.11/CONTRIBUTING.md-108- variables are set (e.g. with `[[ -v varname ]]`) or use default bash-completion-2.11/CONTRIBUTING.md:109: expansion (e.g. `${varname-}`). bash-completion-2.11/CONTRIBUTING.md-110- bash-completion-2.11/CONTRIBUTING.md:111:- Prefer `compgen -W '...' -- $cur` over embedding `$cur` in external bash-completion-2.11/CONTRIBUTING.md-112- command arguments (often e.g. sed, grep etc) unless there's a good ############################################## bash-completion-2.11/Makefile.am-36-install-data-hook: bash-completion-2.11/Makefile.am:37: tmpfile=`mktemp $${TMPDIR:-/tmp}/bash_completion.XXXXXX` && \ bash-completion-2.11/Makefile.am-38- $(SED) -e 's|-/etc/bash_completion\.d|-$(compatdir)|' \ ############################################## bash-completion-2.11/README.md-46-`/etc`) mechanism—i.e. does not automatically source shell scripts in bash-completion-2.11/README.md:47:it—you can source the `$sysconfdir/profile.d/bash_completion.sh` bash-completion-2.11/README.md-48-script in `/etc/bashrc` or `~/.bashrc`. ############################################## bash-completion-2.11/README.md-54-1. Turn off programmable completion with `shopt -u progcomp` in bash-completion-2.11/README.md:55: `$XDG_CONFIG_HOME/bash_completion` (or `~/.config/bash_completion` bash-completion-2.11/README.md:56: if `$XDG_CONFIG_HOME` is not set) bash-completion-2.11/README.md-57-2. Turn it back on (for example in `~/.bashrc`) if you want to use ############################################## bash-completion-2.11/README.md-120- If you want to use bash's default completion instead of one of ours, bash-completion-2.11/README.md:121: something like this should work (where `$cmd` is the command to override bash-completion-2.11/README.md:122: completion for): `complete -o default -o bashdefault $cmd` bash-completion-2.11/README.md-123- ############################################## bash-completion-2.11/README.md-125- bash-completion-2.11/README.md:126:A. Put them in the `completions` subdir of `$BASH_COMPLETION_USER_DIR` bash-completion-2.11/README.md:127: (defaults to `$XDG_DATA_HOME/bash-completion` or bash-completion-2.11/README.md-128- `~/.local/share/bash-completion` bash-completion-2.11/README.md:129: if `$XDG_DATA_HOME` is not set) to have them loaded automatically bash-completion-2.11/README.md-130- on demand when the respective command is being completed. ############################################## bash-completion-2.11/README.md-192- bash-completion-2.11/README.md:193:A. Define `$COMP_CVS_REMOTE`. Setting this to anything will result in bash-completion-2.11/README.md-194- the behaviour you would like. ############################################## bash-completion-2.11/README.md-209- bash-completion-2.11/README.md:210:A. Define `$COMP_CONFIGURE_HINTS`. Setting this to anything will bash-completion-2.11/README.md-211- result in the behaviour you would like. ############################################## bash-completion-2.11/README.md-237- If you would rather have correct path completion for tar file bash-completion-2.11/README.md:238: contents, define `$COMP_TAR_INTERNAL_PATHS` *before* sourcing bash-completion-2.11/README.md-239- `bash_completion`. ############################################## bash-completion-2.11/README.md-309- programmable completion functions, you can account for this bash-completion-2.11/README.md:310: by, for example, testing if the `$COMP_`\* variables are set and bash-completion-2.11/README.md-311- taking appropriate bypass or other action. ############################################## bash-completion-2.11/completions/_umount.linux-5- bash-completion-2.11/completions/_umount.linux:6:# Just like COMPREPLY=(`compgen -W "${COMPREPLY[*]}" -- "$cur"`), only better! bash-completion-2.11/completions/_umount.linux-7-# ############################################## bash-completion-2.11/completions/_umount.linux-28- local ifs=$IFS bash-completion-2.11/completions/_umount.linux:29: IFS=$'\n' eval 'COMPREPLY=(`compgen -W "$wlist" -- "${ecur}"`)' bash-completion-2.11/completions/_umount.linux-30- IFS=$ifs ############################################## bash-completion-2.11/completions/mutt-6-# @param $1 (cur) Current word to complete bash-completion-2.11/completions/mutt:7:_muttaddr() bash-completion-2.11/completions/mutt-8-{ ############################################## bash-completion-2.11/doc/bash_completion.txt-15- suitable for definitions of all `COMP_*` environment variables bash-completion-2.11/doc/bash_completion.txt:16: below. If `$XDG_CONFIG_HOME` is unset or null, `~/.config` is bash-completion-2.11/doc/bash_completion.txt-17- used instead of it. ############################################## bash-completion-2.11/test/t/conftest.py-129- ).strip() bash-completion-2.11/test/t/conftest.py:130: home = assert_bash_exec(bash, 'echo "$HOME"', want_output=True).strip() bash-completion-2.11/test/t/conftest.py-131- return (user, home) ############################################## bash-completion-2.11/test/t/test_man.py-22- return bash-completion-2.11/test/t/test_man.py:23: assert_bash_exec(bash, "mkdir -p $TESTDIR/../tmp/man/man3") bash-completion-2.11/test/t/test_man.py-24- assert_bash_exec( ############################################## bash-completion-2.11/test/t/test_man.py-27- request.addfinalizer( bash-completion-2.11/test/t/test_man.py:28: lambda: assert_bash_exec(bash, "rm -r $TESTDIR/../tmp/man") bash-completion-2.11/test/t/test_man.py-29- ) ############################################## bash-completion-2.11/test/t/test_portinstall.py-9- def portsdir(self, request, bash): bash-completion-2.11/test/t/test_portinstall.py:10: assert_bash_exec(bash, "PORTSDIR=$PWD/../tmp") bash-completion-2.11/test/t/test_portinstall.py-11- assert_bash_exec( ############################################## bash-completion-2.11/test/t/test_portinstall.py-15- ) bash-completion-2.11/test/t/test_portinstall.py:16: assert_bash_exec(bash, "cp $PORTSDIR/INDEX $PORTSDIR/INDEX-5") bash-completion-2.11/test/t/test_portinstall.py-17- request.addfinalizer( bash-completion-2.11/test/t/test_portinstall.py:18: lambda: assert_bash_exec(bash, "rm $PORTSDIR/INDEX{,-5}") bash-completion-2.11/test/t/test_portinstall.py-19- ) ############################################## bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py-106- bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py:107: assert_bash_exec(bash, 'OLDHOME="$HOME"; HOME="%s"' % bash.cwd) bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py-108- output = assert_bash_exec( ############################################## bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py-114- ) bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py:115: assert_bash_exec(bash, 'HOME="$OLDHOME"') bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py-116- assert sorted(set(output.strip().split())) == sorted(expected) ############################################## bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py-138- ) bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py:139: assert_bash_exec(bash, 'HOME="$OLDHOME"') bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py-140- assert sorted(set(output.strip().split())) == sorted(expected) ############################################## bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py-154- ) bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py:155: assert_bash_exec(bash, 'HOME="$OLDHOME"') bash-completion-2.11/test/t/unit/test_unit_known_hosts_real.py-156- completion = sorted(set(output.strip().split())) ############################################## bash-completion-2.11/test/t/unit/test_unit_variables.py-13- ) bash-completion-2.11/test/t/unit/test_unit_variables.py:14: assert_bash_exec(bash, "unset ${!___v*} && declare ___var=''") bash-completion-2.11/test/t/unit/test_unit_variables.py-15- request.addfinalizer(