DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+5 =
Submit