るりまサーチ

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

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n
  3. rsa n=
  4. openssl n
  5. openssl n=

キーワード

検索結果

<< 1 2 > >>

Shell::CommandProcessor#cat(*files) -> Shell::Filter (21115.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|
echo(l) |...

Shell#concat(*jobs) -> Shell::Concat (12403.0)

@todo

@todo

Shell::CommandProcessor#concat(*jobs) -> Shell::Concat (12402.0)

@todo

@todo

Shell::Filter#concat(*jobs) -> Shell::Concat (12402.0)

@todo

@todo

Shell#truncate(path, length) -> 0 (12203.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param path パスを表す文字列を指定します。

@param length 変更したいサイズを整数で与えます。

@see File.truncate...

絞り込み条件を変える

Shell::CommandProcessor#truncate(path, length) -> 0 (12202.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param path パスを表す文字列を指定します。

@param length 変更したいサイズを整数で与えます。

@see File.truncate...

Shell::Filter#truncate(path, length) -> 0 (12202.0)

File クラスにある同名のクラスメソッドと同じです.

...File クラスにある同名のクラスメソッドと同じです.

@param path パスを表す文字列を指定します。

@param length 変更したいサイズを整数で与えます。

@see File.truncate...

Shell::Concat#each(rs = nil) {|job| ... } (6102.0)

@todo

@todo

Shell::CommandProcessor#echo(*strings) -> Shell::Filter (3108.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|
echo...

Shell::CommandProcessor#glob(pattern) -> Shell::Filter (3108.0)

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

...ます.

@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、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|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}

@see Dir.[]...

絞り込み条件を変える

Shell::Cat#each(rs = nil) {|line| ... } (3102.0)

@todo

@todo

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

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

...与えるファイル名を文字列で指定します。

動作例
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"
}
}...

Shell#echo(*strings) -> Shell::Filter (109.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|
echo...

Shell#glob(pattern) -> Shell::Filter (109.0)

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

...ます.

@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、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|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}

@see Dir.[]...

Shell::Filter#each(rs = nil) -> () (108.0)

フィルタの一行ずつをblockに渡します。

...行ずつをblockに渡します。

@param rs レコードセパレーターを表す文字列を指定します。
n
il ならば、Shell.record_separatorの値が使用されます。

使用例
require 'shell'
sh = Shell.new
sh.cat("/etc/passwd").each { |line|
puts line
}...

絞り込み条件を変える

Shell::Filter#echo(*strings) -> Shell::Filter (108.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|
echo...

Shell::Filter#glob(pattern) -> Shell::Filter (108.0)

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

...ます.

@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、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|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}

@see Dir.[]...
<< 1 2 > >>