Extract Value From Command Output With Sed
$ postgres -V
postgres (PostgreSQL) 12.3$ postgres -V | sed -n 's/postgres (PostgreSQL) \(.*\)/\1/p'
12.3PreviousEquivalence Classes Of Repetition MetaCharsNextGrab All The Method Names Defined In A Ruby File
Last updated