エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
記事へのコメント3件
- 注目コメント
- 新着コメント
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
色付き tail: uyota 匠の一手
特定のキーワードが tail で流れていて、目視では見つけられない。調べてみたら、以下の方法があった。... 特定のキーワードが tail で流れていて、目視では見つけられない。調べてみたら、以下の方法があった。どうもあちらこちらでミラーされていて元はどこだか判らない。 tail -f file | perl -pe 's/keyword/\e[1;31;43m$&\e[0m/g' This only works on ANSI terminals, but all others have become virtually extinct. \e[...m ist the ANSI escape sequence SGR "select graphic rendition". The "..." can be replaced by some semicolon-separated integers, with the meaning: 0 : all attributes off 1 : bol
2013/06/22 リンク