Skip to content

Commit

Permalink
head to head: Scheme vs awk!
Browse files Browse the repository at this point in the history
  • Loading branch information
Barak A. Pearlmutter committed Feb 24, 2011
1 parent ed32dd9 commit 2db9b0e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions remove-extra-blank-lines.awk
@@ -0,0 +1,3 @@
#!/usr/bin/awk -f
/^$/ && !f {print; f=1}
/./ {print; f=0}

0 comments on commit 2db9b0e

Please sign in to comment.