るりまサーチ

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

別のキーワード

  1. socket iff_echo
  2. io/console echo=
  3. io/console echo?
  4. io echo?
  5. io echo=

クラス

キーワード

検索結果

<< < ... 2 3 4 >>

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

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

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

@
param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。

動作例
require 'shell'
Sh...
...ell.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.[]...

String#chr -> String (19.0)

self の最初の文字だけを含む文字列を返します。

...TDIN.getc が 116 を返すため Integer#chr が呼び出される
$ echo test | ruby -e "p STDIN.getc.chr" # => "t"
# ruby 1.9 系以降では STDIN.getc が "t" を返すため String#chr が呼び出される
$ echo test | ruby -e "p STDIN.getc.chr" # => "t"

@
see String#ord, Integer#chr...

ARGF.class#readbyte -> Integer (13.0)

自身から 1 バイトを読み込み整数として返します。 既に EOF に達していれば EOFError が発生します。

...読み込み整数として返します。
既に EOF に達していれば EOFError が発生します。

@
raise EOFError 既に EOF に達している場合に発生します。

$ echo "foo" > file
$ ruby argf.rb file

ARGF.readbyte # => 102
ARGF.readbyte # => 111
ARGF.readbyte # =>...

Shell#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|
echo
(l)...

Shell#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|
echo
(l) |...

絞り込み条件を変える

Shell::CommandProcessor#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|
echo
(l)...

Shell::CommandProcessor#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|
echo
(l) |...

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|
echo
(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|
echo
(l) |...
<< < ... 2 3 4 >>