116件ヒット
[101-116件を表示]
(0.165秒)
ライブラリ
- ビルトイン (2)
- drb (12)
-
rinda
/ rinda (12) -
rinda
/ tuplespace (12) - shell (24)
-
shell
/ builtin-command (6) -
shell
/ command-processor (24) -
shell
/ filter (24)
クラス
-
DRb
:: DRbRemoteError (12) - MatchData (2)
-
Rinda
:: TupleSpace (12) -
Rinda
:: TupleSpaceProxy (12) - Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (24) -
Shell
:: Tee (6)
検索結果
先頭3件
-
Shell
:: Filter # glob(pattern) -> Shell :: Filter (125.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.ea......ch { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}
@see Dir.[]... -
Shell
# echo(*strings) -> Shell :: Filter (25.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(fil......e + ".tee") >> "all.tee"
}
}
}... -
Shell
:: Filter # echo(*strings) -> Shell :: Filter (25.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(fil......e + ".tee") >> "all.tee"
}
}
}...