6件ヒット
[1-6件を表示]
(0.009秒)
ライブラリ
- shell (6)
検索結果
-
Shell
# cat(*files) -> Shell :: Filter (108.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...内容とする Filter オブジェクトを返します.
@param files シェルコマンド cat に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
f...