411件ヒット
[401-411件を表示]
(0.128秒)
ライブラリ
- ビルトイン (297)
-
irb
/ context (36) - shell (24)
-
shell
/ builtin-command (6) -
shell
/ command-processor (24) -
shell
/ filter (24)
クラス
-
ARGF
. class (252) - Array (21)
-
IRB
:: Context (36) - Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Echo (6) -
Shell
:: Filter (24) - String (24)
キーワード
- cat (18)
- chr (12)
- close (12)
- closed? (12)
- each (6)
-
each
_ char (24) -
each
_ codepoint (24) - echo= (12)
- echo? (12)
- eof (12)
- eof? (12)
- file (12)
- filename (12)
- getbyte (12)
- getc (12)
- gets (36)
- glob (18)
-
inplace
_ mode (12) - pack (21)
- path (12)
- read (12)
- readbyte (12)
- readchar (12)
- skip (12)
- tee (18)
- unpack (12)
検索結果
-
Shell
# glob(pattern) -> Shell :: Filter (107.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...れらを内容とする Filter オブジェクトを返します.
@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_comma......nd("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"
}
}
}
@see Dir.[]... -
Shell
# tee(file) -> Shell :: Filter (107.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...と, それらを内容とする Filter オブジェクトを返します.
@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
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"
}
}
}...