bin/kagami in kagami-0.1.4 vs bin/kagami in kagami-0.1.5
- old
+ new
@@ -1,9 +1,9 @@
#!/usr/bin/env ruby
# -*- coding: utf-8 -*-
-require File.join(File.dirname(__FILE__), "../lib/kagami")
+require_relative "../lib/kagami"
program = File.basename($PROGRAM_NAME)
USAGE = <<-EOD
usage: #{program} text
@@ -24,11 +24,17 @@
The Internet || +-------+ +--------+
=======☁======||----+ proxy +--+ server |
|| +-------+ +--------+
||
- $ cat hoge.txt | #{program}
- (reversed hoge.txt every one line)
+ $ apt-get moo | #{program}
+ )__(
+ )oo(
+ /\------/
+ || | /
+ \/---\/ *
+ ~~ ~~
+ ..."Have you mooed today?"....
EOD
# When no args on interactive shell
if $stdin.tty? && ARGV.empty?
puts USAGE