How does it work? Inputs watch log files for changes, send new log messages to the server, which broadcasts to web clients. Log messages are tagged with stream and source information based on user configuration. log.io has no persistence layer. File inputs are informed of file changes via inotify, and log messages hop from input to server to web client via TCP and socket.io, respectively. Simple T
概要 sedコマンドで任意の文字列を改行に置換する方法 知ってはいるけど記述が汚いのでもっと綺麗に書きたい。 そもそも改行ってどーやるの? 例えば、\nって書いてあるところを全部本物の改行に置換したいならこーやります。 sedの置換コマンド後半部分に、エスケープ用のバックスラッシュと、実際の改行コードを書くわけです。 でもこれって汚い!コマンドの途中で改行されちゃうのはイヤんな感じ。 スマートにいきましょ。 綺麗に書きたければ改行文字をシェル変数に入れておき、実際の改行を書く代わりに使えばいいのです。つまり、シェル変数$LFなどを作ってそこに'\'と'<0x0A>'の2文字を格納し、これを使えばいいのです。 まずは$LFに'\'と'<0x0A>'を入れましょ。 が!素直にはシェル変数には入ってくれません。 一筋縄ではいかない。 printfコマンドを使うとキーボードから打てないコントロール
ICANN, the Internet Corporation for Assigned Names and Numbers, requires us to ask you as a Registrant of a domain name to verify your contact information for this domain with your provider. As a Registrant of a domain name, a new domain registration or changes to the first name, last name, contact address or email address of an existing domain name, requires verification of the information within
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く