2009-05-30から1日間の記事一覧

一時ファイルを作成せずに、コマンドの実行結果のdiffを取る (bashのProcess Substitutionで)

http://tldp.org/LDP/abs/html/process-sub.html コマンドの実行結果を名前付きパイプで読めるらしい。 Command list enclosed within parentheses >(command_list) Process substitution uses /dev/fd/ files to send the results of the process(es) withi…