234件ヒット
[201-234件を表示]
(0.079秒)
別のキーワード
ライブラリ
- matrix (12)
-
rexml
/ document (36) -
rexml
/ streamlistener (12) - shell (54)
-
shell
/ command-processor (42) -
shell
/ filter (78)
クラス
- Matrix (12)
-
REXML
:: DocType (36) - Shell (54)
-
Shell
:: CommandProcessor (42) -
Shell
:: Filter (78)
モジュール
キーワード
- < (6)
- > (6)
- >> (6)
- cat (18)
- echo (18)
- eigensystem (12)
- entitydecl (12)
-
external
_ id (12) - glob (18)
- out (18)
- public (12)
-
system
_ path (6) -
system
_ path= (6) - tee (18)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- | (6)
検索結果
先頭5件
-
Shell
:: Filter # cat(*files) -> Shell :: Filter (13.0) -
実行すると, それらを内容とする 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|... -
Shell
:: Filter # echo(*strings) -> Shell :: Filter (13.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|... -
Shell
:: Filter # glob(pattern) -> Shell :: Filter (13.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...ターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|... -
Shell
:: Filter # tee(file) -> Shell :: Filter (13.0) -
実行すると, それらを内容とする 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|... -
Shell
:: Filter # to _ a -> [String] (13.0) -
実行結果を文字列の配列で返します。
...実行結果を文字列の配列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
puts sh.cat("/etc/passwd").to_a... -
Shell
:: Filter # to _ s -> String (13.0) -
実行結果を文字列で返します。
...実行結果を文字列で返します。
require 'shell'
Shell.def_system_command("wc")
sh = Shell.new
sh.transact {
puts (cat("/etc/passwd") | wc("-l")).to_s
}...