Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to grep for value in a key-value

$ grep -Po '(?<=^FOO=)w*$' file
foo
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #grep
ADD COMMENT
Topic
Name
9+5 =