2011-11-15から1日間の記事一覧
tail -f で、ログを眺めているときに、キーワードを見落とさないように色を付けたい。実行例。 $ cat cotee | ./cotee #!/usr/bin/ruby # # cotee - color tee command. read from stdin and write to stdout with color and files # # filename = ARGV.shif…
tail -f で、ログを眺めているときに、キーワードを見落とさないように色を付けたい。実行例。 $ cat cotee | ./cotee #!/usr/bin/ruby # # cotee - color tee command. read from stdin and write to stdout with color and files # # filename = ARGV.shif…