るりまサーチ

最速Rubyリファレンスマニュアル検索!
2149件ヒット [1-100件を表示] (0.029秒)
トップページ > クエリ:shell[x] > クエリ:Filter[x]

別のキーワード

  1. shell/builtin-command new
  2. etc sc_shell
  3. shell/builtin-command each
  4. shell debug
  5. shell debug=

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

Shell::Filter (21032.0)

コマンドの実行結果はすべて Shell::Filter か、そのサブクラスのインスタンスとして返ります。

...コマンドの実行結果はすべて Shell::Filter か、そのサブクラスのインスタンスとして返ります。...

Shell#append(to, filter) -> Shell::AppendFile | Shell::AppendIO (17321.0)

@todo

...@todo

@param to 文字列か IO を指定します。

@param filter Shell::Filter のインスタンスを指定します。...

Shell#cat(*files) -> Shell::Filter (17236.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...すると, それらを内容とする Filter オブジェクトを返します.

@param files シェルコマンド cat に与えるファイル名を文字列で指定します。

動作例
require 'shell'
Shell
.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_...

Shell#echo(*strings) -> Shell::Filter (17236.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...行すると, それらを内容とする Filter オブジェクトを返します.

@param strings シェルコマンド echo に与える引数を文字列で指定します。

動作例
require 'shell'
Shell
.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.e...

Shell#glob(pattern) -> Shell::Filter (17236.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

... Filter オブジェクトを返します.

@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。

動作例
require 'shell'
Shell
.def_system_command("head")
sh = Shell....

絞り込み条件を変える

Shell#tee(file) -> Shell::Filter (17236.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...行すると, それらを内容とする Filter オブジェクトを返します.

@param file シェルコマンドtee に与えるファイル名を文字列で指定します。

動作例
require 'shell'
Shell
.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to...

shell/filter (12032.0)

Shell::Filter を定義しているライブラリです。

...Shell::Filter を定義しているライブラリです。...

Shell::Filter#append(to, filter) -> Shell::AppendFile | Shell::AppendIO (6321.0)

@todo

...@todo

@param to 文字列か IO を指定します。

@param filter Shell::Filter のインスタンスを指定します。...

Shell::Filter#cat(*files) -> Shell::Filter (6236.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...すると, それらを内容とする Filter オブジェクトを返します.

@param files シェルコマンド cat に与えるファイル名を文字列で指定します。

動作例
require 'shell'
Shell
.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_...

Shell::Filter#echo(*strings) -> Shell::Filter (6236.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...行すると, それらを内容とする Filter オブジェクトを返します.

@param strings シェルコマンド echo に与える引数を文字列で指定します。

動作例
require 'shell'
Shell
.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.e...

絞り込み条件を変える

Shell::Filter#glob(pattern) -> Shell::Filter (6236.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

... Filter オブジェクトを返します.

@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。

動作例
require 'shell'
Shell
.def_system_command("head")
sh = Shell....

Shell::Filter#tee(file) -> Shell::Filter (6236.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...行すると, それらを内容とする Filter オブジェクトを返します.

@param file シェルコマンドtee に与えるファイル名を文字列で指定します。

動作例
require 'shell'
Shell
.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to...

Shell::Filter.new(sh) -> Shell::Filter (6234.0)

Shell::Filter クラスのインスタンスを返します。 通常このメソッドを直接使う機会は少ないでしょう。

...
Shell
::Filter クラスのインスタンスを返します。
通常このメソッドを直接使う機会は少ないでしょう。...

Shell::Filter#input -> Shell::Filter | nil (6202.0)

現在のフィルターを返します。

現在のフィルターを返します。

Shell::Filter#|(filter) -> object (6171.0)

パイプ結合を filter に対して行います。

...合を filter に対して行います。

@param filter Shell::Filter オブジェクトを指定します。

@return filter を返します。

使用例
require 'shell'
Shell
.def_system_command("tail")
Shell
.def_system_command("head")
Shell
.def_system_command("wc")
sh = Shell.new
sh....

絞り込み条件を変える

Shell::Filter#+(filter) (6125.0)

執筆者募集

...執筆者募集

filter
1 + filter2 は filter1の出力の後, filter2の出力を行う。...

Shell::Filter#system(command, *opts) -> Shell::SystemCommand (6125.0)

command を実行する.

...で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell
.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell
.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT...
<< 1 2 3 ... > >>