I am thinking of using sed for reading .properties file, but was wondering if there is a smarter way to do that from bash script?
This would probably be the easiest way: grep + cut
# Usage: get_property FILE KEY function get_property { grep "^$2=" "$1" | cut -d'=' -f2 }
1.4m articles
1.4m replys
5 comments
57.0k users