bash
リモートファイルのdiffを取ろうと思ったのだけど $ diff <(ssh hoge@host1 cat file1) <(ssh hoge@host2 cat file1) というのがコマンドラインだと動くのにスクリプトの中で書いたら全然動かない。 そこでいろいろ検索してたら http://twitter.com/#!/masha…
リモートファイルのdiffを取ろうと思ったのだけど $ diff <(ssh hoge@host1 cat file1) <(ssh hoge@host2 cat file1) というのがコマンドラインだと動くのにスクリプトの中で書いたら全然動かない。 そこでいろいろ検索してたら http://twitter.com/#!/masha…