るりまサーチ

最速Rubyリファレンスマニュアル検索!
234件ヒット [1-100件を表示] (0.127秒)

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

キーワード

検索結果

<< 1 2 3 > >>

Shell::Filter#system(command, *opts) -> Shell::SystemCommand (30421.0)

command を実行する.

....

@param command 実行するコマンドのパスを文字列で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

r
equire 'shell'
Shell
.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell
.def_system_command(...
..."head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT...

Shell::CommandProcessor#system(command, *opts) -> Shell::SystemCommand (27421.0)

command を実行する.

....

@param command 実行するコマンドのパスを文字列で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

r
equire 'shell'
Shell
.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell
.def_system_command(...
..."head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT...

Shell::SystemCommand#terminate -> () (24302.0)

@todo

...@todo...

Shell::SystemCommand#start_export (21302.0)

@todo

...@todo...

Shell::SystemCommand#start_import -> () (21302.0)

@todo

...@todo...

絞り込み条件を変える

Shell::Filter#find_system_command(command) (18203.0)

@todo

...@todo...

Shell::CommandProcessor#find_system_command(command) (15203.0)

@todo

...@todo...

Shell::SystemCommand#start -> () (15202.0)

@todo

...@todo...

Shell#system_path -> Array (12317.0)

コマンドサーチパスの配列を返す。

...コマンドサーチパスの配列を返す。

@param path コマンドサーチパスの配列を指定します。

使用例

r
equire 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]...

Shell::Filter#tee(file) -> Shell::Filter (12308.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...lter オブジェクトを返します.

@param file シェルコマンドtee に与えるファイル名を文字列で指定します。

動作例
r
equire '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#transact { ... } -> object (12221.0)

ブロック中で shell を self として実行します。

...ブロック中で shell を self として実行します。

例:

r
equire 'shell'
Shell
.def_system_command("head")
sh = Shell.new
sh.transact{
system
("ls", "-l") | head > STDOUT
# transact の中では、
# sh.system("ls", "-l") | sh.head > STDOUT と同じとなる。
}...

Shell::CommandProcessor#transact { ... } -> object (12220.0)

ブロック中で shell を self として実行します。

...ブロック中で shell を self として実行します。

例:

r
equire 'shell'
Shell
.def_system_command("head")
sh = Shell.new
sh.transact{
system
("ls", "-l") | head > STDOUT
# transact の中では、
# sh.system("ls", "-l") | sh.head > STDOUT と同じとなる。
}...

Shell::Filter#transact { ... } -> object (12220.0)

ブロック中で shell を self として実行します。

...ブロック中で shell を self として実行します。

例:

r
equire 'shell'
Shell
.def_system_command("head")
sh = Shell.new
sh.transact{
system
("ls", "-l") | head > STDOUT
# transact の中では、
# sh.system("ls", "-l") | sh.head > STDOUT と同じとなる。
}...

Shell::SystemCommand#super_each -> () (12102.0)

@todo

...@todo

Shell
::Filter#each です。...

Shell::CommandProcessor#tee(file) -> Shell::Filter (9308.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...lter オブジェクトを返します.

@param file シェルコマンドtee に与えるファイル名を文字列で指定します。

動作例
r
equire '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::CommandProcessor#cat(*files) -> Shell::Filter (9208.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...を内容とする Filter オブジェクトを返します.

@param files シェルコマンド cat に与えるファイル名を文字列で指定します。

動作例
r
equire '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#cat(*files) -> Shell::Filter (9208.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...を内容とする Filter オブジェクトを返します.

@param files シェルコマンド cat に与えるファイル名を文字列で指定します。

動作例
r
equire '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"
}
}
}...
<< 1 2 3 > >>