1344件ヒット
[1-100件を表示]
(0.129秒)
ライブラリ
- etc (24)
- shell (378)
-
shell
/ builtin-command (60) -
shell
/ command-processor (408) -
shell
/ filter (282) -
shell
/ process-controller (78) -
shell
/ system-command (90) - shellwords (24)
クラス
- Array (12)
-
Etc
:: Passwd (24) - Shell (378)
-
Shell
:: AppendFile (6) -
Shell
:: AppendIO (6) -
Shell
:: BuiltInCommand (12) -
Shell
:: Cat (6) -
Shell
:: CommandProcessor (408) -
Shell
:: Concat (6) -
Shell
:: Echo (6) -
Shell
:: Filter (282) -
Shell
:: Glob (6) -
Shell
:: ProcessController (78) -
Shell
:: SystemCommand (90) -
Shell
:: Tee (6) -
Shell
:: Void (6) - String (12)
キーワード
- [] (18)
- active? (12)
-
active
_ job? (6) -
active
_ jobs (6) -
active
_ jobs _ exist? (6) -
add
_ schedule (6) - append (18)
- atime (18)
- basename (18)
- blockdev? (6)
- cat (18)
- cd (6)
- chardev? (18)
- chdir (6)
-
check
_ point (6) - chmod (18)
- chown (18)
- command (6)
-
command
_ processor (6) - concat (18)
- ctime (18)
- debug= (6)
- delete (18)
-
dir
_ stack (6) - directory? (6)
- dirname (18)
- dirs (6)
- each (48)
- echo (18)
- executable? (18)
-
executable
_ real? (18) - exist? (6)
- exists? (6)
- file? (6)
-
find
_ system _ command (18) -
finish
_ all _ jobs (18) - flush (6)
- foreach (18)
- ftype (18)
- glob (18)
- grpowned? (6)
- identical? (18)
- input= (18)
- jobs (12)
- join (6)
- kill (12)
-
kill
_ job (6) - link (6)
- lstat (18)
- mkdir (18)
- mtime (18)
- name (6)
- notify (18)
- open (18)
- out (6)
- owned? (6)
- pipe? (6)
- pushd (6)
- pushdir (6)
- readable? (18)
-
readable
_ real? (18) - readlink (18)
-
record
_ separator (6) -
record
_ separator= (6) - rehash (18)
- rename (18)
- rm (18)
- rmdir (18)
- setgid? (6)
- setuid? (6)
- sfork (6)
- shell= (12)
- shellescape (12)
- shelljoin (12)
- size (6)
- size? (6)
- socket? (6)
- split (18)
- start (6)
-
start
_ export (6) -
start
_ import (6) -
start
_ job (6) - stat (18)
- sticky? (6)
-
super
_ each (6) - symlink (6)
- symlink? (6)
- system (18)
-
system
_ path (6) -
system
_ path= (6) - tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
-
to
_ a (6) - transact (18)
- truncate (18)
- umask (6)
- umask= (6)
- unlink (18)
- utime (18)
- verbose= (6)
- wait? (12)
-
wait
_ all _ jobs _ execution (6) -
waiting
_ job? (6) -
waiting
_ jobs (6) -
waiting
_ jobs _ exist? (6) -
world
_ readable? (18) -
world
_ writable? (18) - writable? (18)
-
writable
_ real? (18) - zero? (6)
検索結果
先頭5件
-
Shell
# append(to , filter) -> Shell :: AppendFile | Shell :: AppendIO (23509.0) -
@todo
...@todo
@param to 文字列か IO を指定します。
@param filter Shell::Filter のインスタンスを指定します。... -
Shell
# command _ processor -> Shell :: CommandProcessor (23302.0) -
@todo
@todo -
Shell
# concat(*jobs) -> Shell :: Concat (23302.0) -
@todo
@todo -
Shell
# cat(*files) -> Shell :: Filter (23226.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
# system _ path=(path) (23213.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Shell
# dirname(filename) -> String (23201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.dirname... -
Shell
# find _ system _ command(command) (23201.0) -
@todo
@todo -
Shell
# lstat(filename) -> File :: Stat (23201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.lstat... -
Shell
# stat(filename) -> File :: Stat (23201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat... -
Shell
# truncate(path , length) -> 0 (23201.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
# umask=(umask) (23201.0) -
@todo
@todo -
Shell
# transact { . . . } -> object (23135.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
# foreach(path = nil , &block) -> () (23119.0) -
pathがファイルなら, File#foreach pathがディレクトリなら, Dir#foreach の動作をします。
...pathがファイルなら, File#foreach
pathがディレクトリなら, Dir#foreach
の動作をします。
@param path ファイルもしくはディレクトリのパスを文字列で指定します。
使用例
require 'shell'
Shell.verbose = false
sh = Shell.new
sh.foreach("/tmp"){... -
Shell
# system _ path -> Array (23113.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Shell
# atime(filename) -> Time (23101.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.atime... -
Shell
# basename(filename , suffix = "") -> String (23101.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き......'.' を含まない任意の文字列にマッチします。
@see File.basename... -
Shell
# chardev?(file) -> bool (23101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev?...