本連載では第一線のPerlハッカーが回替わりで執筆していきます。今回のハッカーはふしはらかんさんで、 テーマは 「Perlで作るコマンドラインツール」 です。 本稿のサンプルコードは、 本誌サポートサイトから入手できます。 コマンドラインツールを ...
This post covers some well-known Linux commands that, when used with particular options and arguments, can save you some time or ensure that what you are doing is what you intended. The first “trick” ...
オリジナルUNIXに敬意を表して、その子孫であるbashのコマンドライン補完機能を先にみていくことにしよう。bashでは、タブキーを使ってコマンドラインの補完を行う。このとき、すでに入力された文字に応じて、補完方法が異なる。補完対象の文字列が ...
The simplest grep command looks like the one shown below. This “find string in file” command will show all the lines in the file that contain the string, even when that string is only part of a longer ...