Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

grep exact match

echo olavo|grep -E "^olavo$" # returns olavo
echo olavo|grep -E "ola$"    # returns none
 
PREVIOUS NEXT
Tagged: #grep #exact #match
ADD COMMENT
Topic
Name
2+8 =