378件ヒット
[1-100件を表示]
(0.119秒)
ライブラリ
- shell (378)
キーワード
- [] (6)
- append (6)
- atime (6)
- basename (6)
- cat (6)
- cd (6)
- chardev? (6)
- chdir (6)
- chmod (6)
- chown (6)
-
command
_ processor (6) - concat (6)
- ctime (6)
- debug= (6)
- delete (6)
-
dir
_ stack (6) - dirname (6)
- dirs (6)
- echo (6)
- executable? (6)
-
executable
_ real? (6) -
find
_ system _ command (6) -
finish
_ all _ jobs (6) - foreach (6)
- ftype (6)
- glob (6)
- identical? (6)
- jobs (6)
- kill (6)
- lstat (6)
- mkdir (6)
- mtime (6)
- open (6)
- pushd (6)
- pushdir (6)
- readable? (6)
-
readable
_ real? (6) - readlink (6)
-
record
_ separator (6) -
record
_ separator= (6) - rehash (6)
- rename (6)
- rm (6)
- rmdir (6)
- split (6)
- stat (6)
- system (6)
-
system
_ path (6) -
system
_ path= (6) - tee (6)
- test (6)
- transact (6)
- truncate (6)
- umask (6)
- umask= (6)
- unlink (6)
- utime (6)
- verbose= (6)
-
world
_ readable? (6) -
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6)
検索結果
先頭5件
-
Shell
# append(to , filter) -> Shell :: AppendFile | Shell :: AppendIO (6302.0) -
@todo
...@todo
@param to 文字列か IO を指定します。
@param filter Shell::Filter のインスタンスを指定します。... -
Shell
# command _ processor -> Shell :: CommandProcessor (6202.0) -
@todo
@todo -
Shell
# concat(*jobs) -> Shell :: Concat (6202.0) -
@todo
@todo -
Shell
# dirname(filename) -> String (6202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.dirname... -
Shell
# find _ system _ command(command) (6202.0) -
@todo
@todo -
Shell
# lstat(filename) -> File :: Stat (6202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.lstat... -
Shell
# stat(filename) -> File :: Stat (6202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat... -
Shell
# system _ path=(path) (6202.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Shell
# truncate(path , length) -> 0 (6202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
# umask=(umask) (6202.0) -
@todo
@todo -
Shell
# cat(*files) -> Shell :: Filter (6108.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|
e......cho(l) | tee(file + ".tee") >> "all.tee"
}
}
}... -
Shell
# atime(filename) -> Time (6102.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.atime... -
Shell
# basename(filename , suffix = "") -> String (6102.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き......'.' を含まない任意の文字列にマッチします。
@see File.basename... -
Shell
# chardev?(file) -> bool (6102.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev?... -
Shell
# dir _ stack -> [String] (6102.0) -
@todo
@todo -
Shell
# executable?(file) -> bool (6102.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable?... -
Shell
# executable _ real?(file) -> bool (6102.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real?...