From bits to ICs

2014. július 1., kedd

Grab all python comments from all files in a folder (recursively)

Grab all python comment from all files:
grep -rPzo "[\"]{3}[\\s\\S]*?[\"]{3}" . 
I hope someone finds this one day and will save many hours of headache for someone.

Bejegyezte: Unknown dátum: 7:47 Nincsenek megjegyzések:
Küldés e-mailbenBlogThis!Megosztás az X-enMegosztás a FacebookonMegosztás a Pinteresten
Újabb bejegyzések Régebbi bejegyzések Főoldal
Feliratkozás: Bejegyzések (Atom)

Blogarchívum

  • ▼  2014 (1)
    • ▼  július (1)
      • Grab all python comments from all files in a folde...
  • ►  2013 (1)
    • ►  május (1)

Magamról

Unknown
Teljes profil megtekintése
Egyszerű téma. Üzemeltető: Blogger.