=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== kubetail-1.6.5/README.md-25- kubetail-1.6.5/README.md:26:The easiest option is to install kubetail from homebrew to dynamically display the pods names on `$ kubetail <tab>`. Alternatively install any of the [completion scripts](completion/) (bash/zsh/fish) manually. For example: kubetail-1.6.5/README.md-27-* On Ubuntu, copy the [kubetail.bash](https://raw.githubusercontent.com/johanhaleby/kubetail/master/completion/kubetail.bash) script to `/etc/bash_completion.d/`. ############################################## kubetail-1.6.5/kubetail-222-# Get all pods matching the input and put them in an array. If no input then all pods are matched. kubetail-1.6.5/kubetail:223:matching_pods=(`${KUBECTL_BIN} get pods ${context:+--context=${context}} "${selector[@]}" ${namespace_arg} ${cluster} --output=jsonpath='{.items[*].metadata.name}' | xargs -n1 | grep $grep_matcher "${pod}"`) kubetail-1.6.5/kubetail-224-matching_pods_size=${#matching_pods[@]} ############################################## kubetail-1.6.5/kubetail-240- potential_col=$(($1+1)) kubetail-1.6.5/kubetail:241: [[ $skip_colors =~ (^|,)$potential_col($|,) ]] && echo `next_col $potential_col` || echo $potential_col kubetail-1.6.5/kubetail-242-} ############################################## kubetail-1.6.5/kubetail-259-# Putting all needed values in a variable so that multiple requests to Kubernetes api can be avoided, thus making it faster kubetail-1.6.5/kubetail:260:all_pods_containers=$(echo -e `${KUBECTL_BIN} get pods ${namespace_arg} ${context:+--context=${context}} --output=jsonpath="{range .items[*]}{.metadata.name} {.spec['containers', 'initContainers'][*].name} \n{end}"`) kubetail-1.6.5/kubetail-261- ############################################## kubetail-1.6.5/kubetail-273- else kubetail-1.6.5/kubetail:274: color_index=`next_col $color_index` kubetail-1.6.5/kubetail-275- color_start=$(tput setaf $color_index)