dotfiles/dotfiles/lib/functions/all_after_char

10 lines
133 B
Bash
Executable File

#!/usr/bin/env sh
function all_after_char {
while read -r line; do
echo ${line##*$1}
done;
}
all_after_char "$@"