LinuxやFreeBSDでよく利用されるコマンドのひとつにgrep(1)がある。ファイルから特定のキーワードを含んだ行を取り出したりコマンド出力から特定のキーワードを含んだ行を取り出すために利用されるコマンドで、正規表現と組み合わせて利用されることが多い。
grep is a command-line utility for searching plain-text data sets for lines that match a regular expression. Created in the early days of Unix, it has become a cornerstone of text processing in Linux ...
There are certain Linux commands I consider essential. They range from networking, troubleshooting, and file viewing. They're also easy enough for new users to learn. Even though I've been using Linux ...
Using Linux, especially as a server, often means dealing with new errors and resolving them. Most of them are easy to fix with just a web search. But some errors may require that you do some digging.
このほど、grepコマンドの新しいバージョン「grep 3.7」の公開が伝えられた(参考「grep - News: grep-3.7 released [stable] [Savannah]」)。このバージョンでは、grepコマンドに発生していた極端に処理が遅くなるバグが修正されており、以前のような高速な動作が戻って ...