Bash Drukuj znaki od wzoru do wzoru

grep -o '\S*abc\.smart\S*' file | sed 's/"/\\"/g;s/.*/echo "& $(expr length &)"/e'
Paula Villasante Soriano