I'm trying to write a bash script that will take user input and search my file for matches. And then format the output to new lines
This is what I have but I'm getting an error unexpected EOF while looking for matching `''
echo 'Enter a Keyword: '
read Keyword
awk -v Keyword="$Keyword" '/$0 ~ Keyword/ -F: '{ print " Name: "$1"\n","Phone: "$2"\n","Email: "$3" }' myfile