Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

output to STDOUT and exit successfully

MacRuby has a tendency to blurt out SIMBL-related errors (for example)
on STDERR, so outputting to STDOUT makes it easier to distinguish (as
well as to capture output). [mojodna]
  • Loading branch information...
commit a3fa1f69053d2abe0e075f3781d9487d3eb38be6 1 parent f6f9442
Chris Wanstrath authored September 12, 2009

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  bin/lyndon
3  bin/lyndon 100755 → 100644
@@ -8,7 +8,8 @@ require 'lyndon/repl'
8 8
 
9 9
 if STDIN.stat.size > 0
10 10
   input = STDIN.read
11  
-  abort Lyndon.parse(input)
  11
+  puts Lyndon.parse(input)
  12
+  exit
12 13
 end
13 14
 
14 15
 case ARGV.first

0 notes on commit a3fa1f6

Please sign in to comment.
Something went wrong with that request. Please try again.