ライブラリ
- ビルトイン (240)
- fiddle (36)
- fileutils (139)
- mkmf (24)
- pathname (64)
- rake (12)
-
rake
/ testtask (24) -
rubygems
/ gem _ path _ searcher (12) - shell (24)
-
shell
/ builtin-command (18) -
shell
/ command-processor (24) -
shell
/ filter (24) - socket (12)
クラス
- Addrinfo (12)
- Dir (48)
-
Fiddle
:: Handle (36) -
File
:: Stat (72) -
Gem
:: GemPathSearcher (12) - Pathname (64)
-
Rake
:: TestTask (24) - Shell (24)
-
Shell
:: CommandProcessor (24) -
Shell
:: Filter (24) -
Shell
:: Glob (12)
モジュール
-
File
:: Constants (72) - FileTest (24)
- FileUtils (139)
- Kernel (36)
キーワード
-
1
. 6 . 8から1 . 8 . 0への変更点(まとめ) (12) - DOSISH 対応 (12)
-
FNM
_ CASEFOLD (12) -
FNM
_ DOTMATCH (12) -
FNM
_ EXTGLOB (12) -
FNM
_ NOESCAPE (12) -
FNM
_ PATHNAME (12) -
FNM
_ SYSCASE (12) - FileList (12)
- Glob (6)
- IO (12)
-
NEWS for Ruby 2
. 5 . 0 (8) -
NEWS for Ruby 2
. 6 . 0 (7) -
NEWS for Ruby 2
. 7 . 0 (6) -
NEWS for Ruby 3
. 0 . 0 (5) -
RTLD
_ GLOBAL (12) - [] (12)
- blockdev? (24)
- cat (18)
- chardev? (24)
- chown (12)
-
chown
_ R (12) - chroot (12)
-
cp
_ lr (7) -
cp
_ r (12) - each (6)
- echo (18)
- fnmatch (12)
- fnmatch? (12)
-
global
_ id (12) -
global
_ variables (12) -
gvar
_ i (12) -
ipv6
_ mc _ global? (12) -
ivar
_ i (12) -
lib
_ dirs _ for (12) -
ln
_ s (12) -
mark
_ global _ entry (12) - move (12)
- mv (12)
- new (30)
- pattern (12)
- pattern= (12)
-
rb
_ define _ global _ const (12) -
rb
_ define _ global _ function (12) -
rb
_ f _ global _ variables (12) -
rb
_ gc _ mark _ global _ tbl (12) -
rb
_ global _ entry (12) -
rb
_ global _ variable (12) -
rb
_ gvar _ defined (12) -
rb
_ gvar _ get (12) -
rb
_ gvar _ set (12) - remove (12)
-
remove
_ trace (12) - rm (12)
-
rm
_ f (12) -
rm
_ r (12) -
rm
_ rf (12) -
ruby 1
. 6 feature (12) -
ruby 1
. 8 . 2 feature (12) -
ruby 1
. 8 . 4 feature (12) -
ruby 1
. 9 feature (12) - setgid? (12)
- setuid? (12)
- socket? (12)
- sticky? (12)
- symlink (12)
- tee (18)
- touch (12)
-
trace
_ en (12) - un (12)
-
undef
_ setter (12) -
val
_ setter (12)
検索結果
先頭5件
-
Rake
:: FileList (6.0) -
このクラスは Array と基本的には同じです。
...んの少しだけ、簡単にするためのヘルパーメソッドがいくつか定義されています。
Rake::FileList は与えられた glob のパターンを使ってすぐにファイルを検索せずに、
後で評価するためにそれを保存しておきます。
このこと... -
Shell
# cat(*files) -> Shell :: Filter (6.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 (6.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
# tee(file) -> Shell :: Filter (6.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
:: CommandProcessor # cat(*files) -> Shell :: Filter (6.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
:: CommandProcessor # echo(*strings) -> Shell :: Filter (6.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
:: CommandProcessor # tee(file) -> Shell :: Filter (6.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
:: Filter # cat(*files) -> Shell :: Filter (6.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
:: Filter # echo(*strings) -> Shell :: Filter (6.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
:: Filter # tee(file) -> Shell :: Filter (6.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"
}
}
}... -
un (6.0)
-
Unix の基本コマンドの代替となるユーティリティ。
...ます。
Windows などワイルドカードを認識しないシステム(シェル)のために引数は
unがワイルドカード展開(Dir.glob参照)します(Unix ではシェ
ルとunにより二重にワイルドカード展開されます)。
=== 使い方:
ruby -run -e cp -- [-prv]...