110件ヒット
[101-110件を表示]
(0.039秒)
種類
- インスタンスメソッド (104)
- 特異メソッド (6)
ライブラリ
- ビルトイン (2)
-
rinda
/ rinda (12) -
rinda
/ tuplespace (12) - shell (24)
-
shell
/ builtin-command (12) -
shell
/ command-processor (24) -
shell
/ filter (24)
クラス
- MatchData (2)
-
Rinda
:: TupleSpace (12) -
Rinda
:: TupleSpaceProxy (12) - Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (24) -
Shell
:: Tee (12)
検索結果
-
Shell
:: Filter # cat(*files) -> Shell :: Filter (24.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...実行すると, それらを内容とする Filter オブジェクトを返します.
@param files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
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(file + ".tee") >> "all.tee"
}
}
}... -
Shell
:: Filter # echo(*strings) -> Shell :: Filter (24.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(fi......le + ".tee") >> "all.tee"
}
}
}...