Skip to content

Instantly share code, notes, and snippets.

@hitode909
Created October 23, 2008 07:01
Show Gist options
  • Save hitode909/18944 to your computer and use it in GitHub Desktop.
Save hitode909/18944 to your computer and use it in GitHub Desktop.
LINE = "="*80
Dir.glob("*.cpp\0*.h") do |file|
puts LINE
puts " " + file
puts LINE
system("cat -n #{file}")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment