ライブラリ
- ビルトイン (161)
- etc (440)
- open3 (99)
- shell (519)
-
shell
/ builtin-command (120) -
shell
/ command-processor (432) -
shell
/ error (12) -
shell
/ filter (480) -
shell
/ process-controller (120) -
shell
/ system-command (66) - shellwords (110)
- socket (11)
- timeout (19)
- win32ole (33)
クラス
- Array (11)
- Dir (29)
-
Etc
:: Passwd (11) - Shell (519)
-
Shell
:: AppendFile (12) -
Shell
:: AppendIO (12) -
Shell
:: BuiltInCommand (12) -
Shell
:: Cat (12) -
Shell
:: CommandProcessor (432) -
Shell
:: Concat (6) -
Shell
:: Echo (12) -
Shell
:: Filter (474) -
Shell
:: Glob (6) -
Shell
:: ProcessController (120) -
Shell
:: SystemCommand (66) -
Shell
:: Tee (12) -
Shell
:: Void (12) - Socket (11)
- String (22)
-
WIN32OLE
_ TYPELIB (11) -
WIN32OLE
_ VARIANT (11)
モジュール
- Etc (429)
- Kernel (132)
- Open3 (99)
- Shellwords (77)
- Timeout (19)
キーワード
- + (6)
- < (6)
- > (6)
- >> (6)
- AppendFile (6)
- AppendIO (6)
- BuiltInCommand (6)
- CantDefine (6)
- DirStackEmpty (6)
- Filter (6)
- NoDelegateMethods (6)
-
SC
_ 2 _ LOCALEDEF (11) -
SC
_ 2 _ PBS _ LOCATE (11) -
SC
_ AIO _ LISTIO _ MAX (11) -
SC
_ AIO _ PRIO _ DELTA _ MAX (11) -
SC
_ BC _ SCALE _ MAX (11) -
SC
_ CHILD _ MAX (11) -
SC
_ CLK _ TCK (11) -
SC
_ CLOCK _ SELECTION (11) -
SC
_ COLL _ WEIGHTS _ MAX (11) -
SC
_ DELAYTIMER _ MAX (11) -
SC
_ JOB _ CONTROL (11) -
SC
_ LINE _ MAX (11) -
SC
_ LOGIN _ NAME _ MAX (11) -
SC
_ MAPPED _ FILES (11) -
SC
_ MEMLOCK (11) -
SC
_ MEMLOCK _ RANGE (11) -
SC
_ MONOTONIC _ CLOCK (11) -
SC
_ NPROCESSORS _ ONLN (11) -
SC
_ PRIORITY _ SCHEDULING (11) -
SC
_ READER _ WRITER _ LOCKS (11) -
SC
_ REALTIME _ SIGNALS (11) -
SC
_ SEM _ VALUE _ MAX (11) -
SC
_ SHELL (11) -
SC
_ SPIN _ LOCKS (11) -
SC
_ SS _ REPL _ MAX (11) -
SC
_ SYMLOOP _ MAX (11) -
SC
_ THREAD _ PRIORITY _ SCHEDULING (11) -
SC
_ TRACE _ EVENT _ FILTER (11) -
SC
_ TRACE _ LOG (11) -
SC
_ V6 _ ILP32 _ OFF32 (11) -
SC
_ V6 _ ILP32 _ OFFBIG (11) -
SC
_ V6 _ LP64 _ OFF64 (11) -
SC
_ V6 _ LPBIG _ OFFBIG (11) -
SC
_ V7 _ ILP32 _ OFF32 (11) -
SC
_ V7 _ ILP32 _ OFFBIG (11) -
SC
_ V7 _ LP64 _ OFF64 (11) -
SC
_ V7 _ LPBIG _ OFFBIG (11) -
SC
_ XOPEN _ REALTIME (11) -
SC
_ XOPEN _ REALTIME _ THREADS (11) -
USING
_ AT _ EXIT _ WHEN _ PROCESS _ EXIT (6) - Void (6)
-
WIN32OLE
_ VARIANT (11) - [] (25)
- activate (6)
- active? (12)
-
active
_ job? (6) -
active
_ jobs (6) -
active
_ jobs _ exist? (6) -
active
_ process _ controllers (6) -
add
_ delegate _ command _ to _ shell (6) -
alias
_ command (18) -
alias
_ map (6) - append (18)
- atime (18)
- basename (18)
-
block
_ output _ synchronize (6) - blockdev? (18)
- cat (18)
- cd (6)
- chardev? (18)
- chdir (6)
-
check
_ point (18) - chmod (18)
- chown (18)
- command (6)
- concat (6)
- ctime (18)
- cwd (6)
- debug (12)
- debug? (12)
-
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ synchronize (6) -
debug
_ output _ unlock (6) -
def
_ builtin _ commands (6) -
def
_ system _ command (6) -
default
_ record _ separator (6) - delete (18)
- dir (6)
-
dir
_ stack (6) - directory? (18)
- dirname (18)
- dirs (6)
- each (48)
-
each
_ active _ object (6) - echo (18)
- escape (11)
- exec (44)
- executable? (18)
-
executable
_ real? (18) - exist? (18)
- exists? (18)
- file? (18)
-
find
_ system _ command (18) -
finish
_ all _ jobs (18) - foreach (18)
- ftype (18)
- getservbyport (11)
- getwd (6)
- glob (40)
- grpowned? (18)
- identical? (18)
- inactivate (6)
- initialize (6)
- input (6)
- input= (24)
- inspect (6)
-
install
_ builtin _ commands (6) -
install
_ system _ commands (12) -
jobs
_ exist? (6) - join (29)
- kill (12)
-
kill
_ job (6) - link (18)
- lstat (18)
-
method
_ added (6) - mkdir (18)
- mtime (18)
- name (6)
- new (70)
- notify (36)
- open (18)
- out (6)
- owned? (18)
- pipe? (18)
- pipeline (11)
-
pipeline
_ r (22) -
pipeline
_ rw (22) -
pipeline
_ start (22) -
pipeline
_ w (22) - popdir (6)
-
process
_ controllers _ exclusive (6) - pushd (6)
- pushdir (6)
- pwd (6)
-
rb
_ exec _ arg _ init (1) - readable? (18)
-
readable
_ real? (18) - readlink (18)
-
record
_ separator (6) - rehash (6)
- rename (6)
- rm (18)
- rmdir (18)
-
run
_ config (6) - setgid? (18)
- setuid? (18)
- sfork (6)
-
shell
/ builtin-command (6) -
shell
/ filter (6) - shellescape (22)
- shelljoin (22)
- shellsplit (22)
- shellwords (11)
- size (18)
- size? (18)
- socket? (18)
- spawn (44)
- split (29)
-
start
_ import (6) -
start
_ job (6) - stat (18)
- sticky? (18)
- symlink (18)
- symlink? (18)
- system (50)
- tee (18)
- terminate (6)
-
terminate
_ job (6) - test (18)
- timeout (19)
-
to
_ a (6) -
to
_ s (6) - transact (6)
- truncate (6)
-
unalias
_ command (12) - unlink (18)
- utime (18)
- wait? (12)
-
wait
_ all _ jobs _ execution (6) -
wait
_ to _ finish _ all _ process _ controllers (6) -
waiting
_ job? (6) -
waiting
_ jobs (6) -
waiting
_ jobs _ exist? (6) -
world
_ readable? (6) -
world
_ writable? (18) - writable? (18)
-
writable
_ real? (18) - zero? (18)
- | (6)
検索結果
先頭5件
-
Shell
. install _ system _ commands(pre = "sys _ ") -> () (32264.0) -
system_path上にある全ての実行可能ファイルをShellに定義する. メソッ ド名は元のファイル名の頭にpreをつけたものとなる.
...をShellに定義する. メソッ
ド名は元のファイル名の頭にpreをつけたものとなる.
@param pre Shellに定義するメソッド名の先頭に付加される文字列を指定します。
使用例: ls -l | head -n 5 のような例。
require 'shell'
Shell.install_syste......m_commands
sh = Shell.new
sh.verbose = false
sh.transact {
(sys_ls("-l") | sys_head("-n 5")).each {|l|
puts l
}
}... -
Shell
# kill(signal , job) -> Integer (32200.0) -
@todo
...@todo
ジョブにシグナルを送ります。
@param signal
@param job... -
Shell
. alias _ command(alias , command , *opts) { . . . } -> self (29464.0) -
コマンドの別名(エイリアス)を作成します。 コマンドが無い場合は、Shell.def_system_command などであらかじめ作成します.
...Shell.def_system_command などであらかじめ作成します.
@param alias エイリアスの名前を文字列で指定します.
@param command コマンド名を文字列で指定します.
@param opts command で指定したコマンドのオプションを指定します.
使用例: ls......-la | sort -k 5 のような例。
require 'shell'
Shell.def_system_command("ls")
Shell.alias_command("lsla", "ls", "-a", "-l")
Shell.def_system_command("sort")
sh = Shell.new
sh.transact {
(lsla | sort("-k 5")).each {|l|
puts l
}
}... -
Shell
. unalias _ command(alias) -> () (29460.0) -
commandのaliasを削除します.
...aliasを削除します.
@param alias 削除したいエイリアスの名前を文字列で指定します。
@raise NameError alias で指定したコマンドが無い場合に発生します。
使用例: ls -la | sort -k 5 のような例。
require 'shell'
Shell.def_system_command("ls")......Shell.alias_command("lsla", "ls", "-a", "-l")
Shell.def_system_command("sort")
sh = Shell.new
sh.transact {
(lsla | sort("-k 5")).each {|l|
puts l
}
}
Shell.unalias_command("lsla")
begin
Shell.unalias_command("lsla")
rescue NameError => err
puts err
end... -
Shell
# file?(file) -> bool (29400.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#file?... -
Shell
# readlink(path) -> String (29300.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink... -
Shell
# writable?(file) -> bool (29300.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable?... -
Shell
# writable _ real?(file) -> bool (29300.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real?... -
Shell
# finish _ all _ jobs (29200.0) -
@todo
@todo -
Shell
# identical? (29200.0) -
@todo
@todo -
Shell
# link(old , new) -> 0 (29200.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new ファイル名を表す文字列を指定します。
@see File.link... -
Shell
# split(pathname) -> [String] (29200.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param pathname パス名を表す文字列を指定します。
@see File.split... -
Shell
# symlink(old , new) -> 0 (29200.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param old ファイル名を表す文字列を指定します。
@param new シンボリックリンクを表す文字列を指定します。
@see File.symlink... -
Shell
# symlink?(file) -> bool (29200.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#symlink?... -
Shell
# unlink(path) -> self (29200.0) -
path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
...path がファイルなら File.unlink、path がディレクトリなら Dir.unlink の動作をします。
@param path 削除したいパスを指定します。
@see File.unlink, Dir.unlink... -
Shell
# world _ writable? (29200.0) -
@todo
@todo -
Shell
. debug _ output _ exclusive _ unlock { . . . } -> Mutex | nil (29200.0) -
@todo
...@todo
@see Mutex#exclusive_unlock... -
Shell
:: ProcessController . wait _ to _ finish _ all _ process _ controllers -> () (27300.0) -
@todo
@todo