るりまサーチ

最速Rubyリファレンスマニュアル検索!
486件ヒット [1-100件を表示] (0.128秒)
トップページ > クエリ:t[x] > クエリ:shell/filter[x]

別のキーワード

  1. shell/builtin-command new
  2. etc sc_shell
  3. shell/builtin-command each
  4. shell notify
  5. shell cd

ライブラリ

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

shell/filter (44000.0)

Shell::Filter を定義しているライブラリです。

...Shell::Filter を定義しているライブラリです。...

Shell::Filter#delete(*filename) -> Integer (17200.0)

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

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

@param filename ファイル名を表す文字列を指定します。

@see File.delete...

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

command を実行する.

...で指定します。

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

使用例:

require '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::Filter#tee(file) -> Shell::Filter (17200.0)

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

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

@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) | tee(file + ".tee") >> "all.tee"
}
}
}...

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

@todo

...@todo...

絞り込み条件を変える

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

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

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

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

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

@see File.truncate...

Shell::Filter#utime(atime, mtime, *filename) -> Integer (14300.0)

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

...filename ファイル名を表す文字列を指定します。

@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。

@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。

@see File.utime...

Shell::Filter#atime(filename) -> Time (14200.0)

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

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

@param filename ファイル名を表す文字列か IO オブジェクトを指定します。

@see File.atime...

Shell::Filter#ctime(filename) -> Time (14200.0)

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

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

@param filename ファイル名を表す文字列か IO オブジェクトを指定します。

@see File.ctime...

Shell::Filter#lstat(filename) -> File::Stat (14200.0)

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

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

@param filename ファイル名を表す文字列を指定します。

@see File.lstat...

絞り込み条件を変える

Shell::Filter#mtime(filename) -> Time (14200.0)

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

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

@param filename ファイル名を表す文字列か IO オブジェクトを指定します。

@see File.mtime...

Shell::Filter#stat(filename) -> File::Stat (14200.0)

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

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

@param filename ファイル名を表す文字列を指定します。

@see File.stat...

Shell::Filter#test(command, file1, file2 = nil) -> bool | Time | Integer | nil (14200.0)

Kernel.#test や FileTest のメソッドに処理を委譲します。

...Kernel.#test や FileTest のメソッドに処理を委譲します。

@param command 数値、またはサイズが 1 の文字列の場合は Kernel.#test に処理委譲します。
2 文字以上の文字列の場合は FileTest のメソッドとして実行します。

@para...
...ell'
Shell.verbose = false
sh = Shell.new
begin
sh.mkdir("foo")
rescue
end
p sh[?e, "foo"] # => true
p sh[:e, "foo"] # => true
p sh["e", "foo"] # => true
p sh[:exists?, "foo"] # => true
p sh["exists?", "foo"] # => true

@see Kernel.#test, FileTest...

Shell::Filter#cat(*files) -> Shell::Filter (14100.0)

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

...を内容とする 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) | tee(file + ".tee") >> "all.tee"
}
}
}...

Shell::Filter#check_point (14100.0)

@todo

...@todo...

絞り込み条件を変える

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

@todo

...@todo...

Shell::Filter#directory?(file) -> bool (14100.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#directory?...
<< 1 2 3 ... > >>