Daily Shaarli

All links of one day in a single page.

July 20, 2018

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

Recherche multilignes :
awk '/Start pattern/,/End pattern/' filename
exemple pg_dump -s database | awk '/CREATE TABLE/,/);/' pour récupérer que les CREATE TABLE