612件ヒット
[601-612件を表示]
(0.115秒)
クラス
- Shell (60)
-
Shell
:: BuiltInCommand (12) -
Shell
:: CommandProcessor (324) -
Shell
:: Filter (96) -
Shell
:: ProcessController (30) -
Shell
:: SystemCommand (90)
キーワード
- < (6)
- > (6)
- >> (6)
- [] (18)
- active? (12)
-
add
_ schedule (6) - append (6)
- atime (6)
- basename (6)
- cat (18)
-
check
_ point (6) - chmod (6)
- chown (6)
- concat (6)
- ctime (6)
- delete (6)
- directory? (6)
- dirname (6)
- each (6)
- echo (18)
- executable? (6)
-
executable
_ real? (6) - exist? (6)
- exists? (6)
-
find
_ system _ command (18) -
finish
_ all _ jobs (6) - flush (6)
- foreach (6)
- ftype (6)
- glob (18)
- identical? (6)
- input= (6)
- join (6)
- kill (6)
-
kill
_ job (6) - lstat (6)
- mkdir (6)
- mtime (6)
- name (6)
- notify (18)
- open (6)
- out (18)
- readlink (6)
- rename (6)
- rm (6)
- rmdir (6)
- setgid? (6)
- setuid? (6)
- sfork (6)
- size (6)
- size? (6)
- socket? (6)
- split (6)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
start
_ job (6) - stat (6)
- sticky? (6)
-
super
_ each (6) - system (18)
- tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- truncate (6)
- unlink (6)
- utime (6)
- wait? (12)
-
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - | (6)
検索結果
-
Shell
# echo(*strings) -> Shell :: Filter (109.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...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(f......ile).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}... -
Shell
# glob(pattern) -> Shell :: Filter (109.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...Filter オブジェクトを返します.
@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.n......ew
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}
@see Dir.[]...