Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 14 lines (11 sloc) 0.275 kb
#!/bin/bash
set -e
for ext in "m" "h" "c"
do
find . -type f -name "*.$ext" -exec perl -ni -e 'chomp; print "$_\n"' {} \;
done
# Ensures all files end with a newline.
for ext in "m" "h" "c"
do
find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s;
done
Jump to Line
Something went wrong with that request. Please try again.