288件ヒット
[1-100件を表示]
(0.199秒)
ライブラリ
- shell (288)
キーワード
- [] (6)
- append (6)
- basename (6)
- cat (6)
- chdir (6)
- chmod (6)
- chown (6)
- cwd (6)
- debug (6)
- debug? (6)
- delete (6)
- dir (6)
-
dir
_ stack (6) - directory? (6)
- dirname (6)
- dirs (6)
- echo (6)
-
executable
_ real? (6) - foreach (6)
- ftype (6)
- getwd (6)
- glob (6)
- join (6)
- kill (6)
- mkdir (6)
- open (6)
-
process
_ controller (6) - pushdir (6)
- pwd (6)
- readlink (6)
-
record
_ separator (6) -
record
_ separator= (6) - rename (6)
- rm (6)
- rmdir (6)
- size (6)
- size? (6)
- split (6)
-
system
_ path (6) - tee (6)
- test (6)
- transact (6)
- truncate (6)
- utime (6)
-
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6)
検索結果
先頭5件
-
Shell
# process _ controller -> Shell :: ProcessController (18602.0) -
@todo
...@todo... -
Shell
# dir _ stack -> [String] (12202.0) -
@todo
...@todo... -
Shell
# directory?(file) -> bool (12202.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#directory?... -
Shell
# executable _ real?(file) -> bool (12202.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real?... -
Shell
# record _ separator -> String (12202.0) -
@todo
...@todo... -
Shell
# record _ separator=(rs) (12202.0) -
@todo
...@todo... -
Shell
# transact { . . . } -> object (12202.0) -
ブロック中で shell を self として実行します。
...ブロック中で shell を self として実行します。
例:
require '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
# truncate(path , length) -> 0 (12202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
# world _ writable? (12202.0) -
@todo
...@todo... -
Shell
# writable?(file) -> bool (12202.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable?... -
Shell
# writable _ real?(file) -> bool (12202.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real?... -
Shell
# dirs -> [String] (9202.0) -
@todo
...@todo... -
Shell
# utime(atime , mtime , *filename) -> Integer (6402.0) -
File クラスにある同名のクラスメソッドと同じです.
...param filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.uti... -
Shell
# delete(*filename) -> Integer (6302.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete... -
Shell
# expand _ path(path) -> String (6302.0) -
Fileクラスにある同名のクラスメソッドと同じです.
...Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path... -
Shell
# tee(file) -> Shell :: Filter (6302.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
# cat(*files) -> Shell :: Filter (6202.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"
}
}
}...