PROJET AUTOBLOG


Shaarli - Librement Shaarli

Site original : Shaarli - Librement Shaarli

⇐ retour index

linux - How can I search for a multiline pattern in a file? - Stack Overflow

vendredi 20 juillet 2018 à 08:15
Recherche multilignes :
awk '/Start pattern/,/End pattern/' filename
exemple pg_dump  -s database | awk '/CREATE TABLE/,/);/' pour récupérer que les CREATE TABLE
Permalink