15 lines
188 B
Ruby
Executable File
15 lines
188 B
Ruby
Executable File
#!/usr/bin/ruby
|
|
|
|
out = STDOUT
|
|
|
|
for line in ARGV
|
|
case line
|
|
when "--stdout"
|
|
out = STDOUT
|
|
when "--stderr"
|
|
out = STDERR
|
|
else
|
|
out.puts(line)
|
|
end
|
|
end
|