Skip to content

Instantly share code, notes, and snippets.

@bianster
Created January 16, 2009 05:59
Show Gist options
  • Select an option

  • Save bianster/47840 to your computer and use it in GitHub Desktop.

Select an option

Save bianster/47840 to your computer and use it in GitHub Desktop.

Revisions

  1. bianster created this gist Jan 16, 2009.
    1 change: 1 addition & 0 deletions Count matching lines
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    grep /pattern/ file | wc -l