home ホーム search 検索 -  login ログイン  | reload edit datainfo version cmd icon diff delete  | help ヘルプ

技術/UNIX/grep, fgrep, egrep, zgrep (v1)

技術/UNIX/grep, fgrep, egrep, zgrep (v1)

技術 / UNIX / grep, fgrep, egrep, zgrep (v1)
id: 477 所有者: msakamoto-sf    作成日: 2009-11-16 09:13:57
カテゴリ: Linux UNIX シェルスクリプト 

時々使い分けたくなるのでメモ。

fgrep = grep -F : 正規表現パターンではなく、固定文字列としてマッチング
egrep = grep -E : 拡張正規表現として処理
zgrep = grep -Z : 検索する前に入力データをzlibで伸長

他:

-I : バイナリファイルを無視(= --binary-files=without-match)


プレーンテキスト形式でダウンロード
表示中のバージョン : 1
現在のバージョン : 3
更新者: msakamoto-sf
更新日: 2009-12-07 01:09:18
md5:05ccae9b661f5fd23e410a57c4ab23ba
sha1:40d52346beda310a76db7a927279cf3d736bd5d2
コメント
コメントを投稿するにはログインして下さい。