Skip to content

Instantly share code, notes, and snippets.

@jasondew
Forked from gfredericks/foo.rb
Created August 8, 2011 21:14
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jasondew/1132761 to your computer and use it in GitHub Desktop.
Save jasondew/1132761 to your computer and use it in GitHub Desktop.
kimian quine
foo.rb:1: syntax error, unexpected tINTEGER, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
foo.rb:1: syntax error, unexpected tI...
^
@jasondew
Copy link
Author

jasondew commented Aug 8, 2011

jasondew@ip-192-168-0-100 /tmp $ ruby foo.rb
foo.rb:1: syntax error, unexpected tINTEGER, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
foo.rb:1: syntax error, unexpected tI...
^
jasondew@ip-192-168-0-100 /tmp $ cat foo.rb
foo.rb:1: syntax error, unexpected tINTEGER, expecting tSTRING_CONTENT or tSTRING_DBEG or tSTRING_DVAR or tSTRING_END
foo.rb:1: syntax error, unexpected tI...
^
jasondew@ip-192-168-0-100 /tmp $ ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.0]

@jasondew
Copy link
Author

jasondew commented Aug 8, 2011

jasondew@ip-192-168-0-100 /tmp $ ruby foo.rb 2>&1 | diff - foo.rb
jasondew@ip-192-168-0-100 /tmp $

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment