1308件ヒット
[1-100件を表示]
(0.076秒)
クラス
- Array (12)
- Shell (396)
-
Shell
:: BuiltInCommand (12) -
Shell
:: CommandProcessor (294) -
Shell
:: Filter (420) -
Shell
:: ProcessController (78) -
Shell
:: SystemCommand (72) - String (24)
キーワード
- < (6)
- > (6)
- >> (6)
- [] (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? (6)
- chdir (6)
- chmod (18)
- chown (18)
- command (6)
- concat (18)
- ctime (18)
- cwd (6)
- debug (6)
- debug? (6)
- delete (18)
- dir (6)
-
dir
_ stack (6) - directory? (18)
- dirname (18)
- dirs (6)
- each (6)
- echo (18)
- executable? (18)
-
executable
_ real? (18) - exist? (18)
- exists? (18)
- file? (6)
- flush (6)
- foreach (18)
- ftype (18)
- getwd (6)
- glob (18)
- grpowned? (6)
- input (6)
- inspect (6)
- jobs (6)
-
jobs
_ exist? (6) - join (18)
- kill (12)
-
kill
_ job (6) - link (6)
- lstat (18)
- mkdir (18)
- mtime (18)
- name (6)
- notify (30)
- open (18)
- out (18)
- owned? (6)
- pipe? (6)
-
process
_ controller (6) - pushd (6)
- pushdir (6)
- pwd (6)
- readable? (6)
-
readable
_ real? (6) - readlink (18)
-
record
_ separator (6) - rehash (6)
- rename (18)
- rm (18)
- rmdir (18)
- setgid? (18)
- setuid? (18)
- sfork (6)
- shell (6)
- shellescape (12)
- shelljoin (12)
- shellsplit (12)
- size (18)
- size? (18)
- socket? (18)
- split (18)
- start (6)
-
start
_ import (6) - stat (18)
- sticky? (18)
-
super
_ each (6) - symlink (6)
- symlink? (6)
- system (18)
-
system
_ path (6) - tee (18)
- terminate (6)
- test (18)
-
to
_ a (6) -
to
_ s (6) - transact (18)
- truncate (18)
- umask (6)
- unlink (18)
- utime (18)
- wait? (12)
-
wait
_ all _ jobs _ execution (6) -
waiting
_ job? (6) -
waiting
_ jobs (6) -
waiting
_ jobs _ exist? (6) - writable? (18)
-
writable
_ real? (18) - zero? (6)
- | (6)
検索結果
先頭5件
-
Shell
:: SystemCommand # terminate -> () (15302.0) -
@todo
...@todo... -
Shell
:: Filter # delete(*filename) -> Integer (9302.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete... -
Shell
:: Filter # system(command , *opts) -> Shell :: SystemCommand (9302.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 (9302.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
:: BuiltInCommand # active? -> true (9202.0) -
@todo
...@todo... -
Shell
:: Filter # truncate(path , length) -> 0 (9202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path パスを表す文字列を指定します。
@param length 変更したいサイズを整数で与えます。
@see File.truncate... -
Shell
# utime(atime , mtime , *filename) -> Integer (6403.0) -
File クラスにある同名のクラスメソッドと同じです.
...filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.utime... -
Shell
:: CommandProcessor # utime(atime , mtime , *filename) -> Integer (6402.0) -
File クラスにある同名のクラスメソッドと同じです.
...filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.utime... -
Shell
:: Filter # utime(atime , mtime , *filename) -> Integer (6402.0) -
File クラスにある同名のクラスメソッドと同じです.
...filename ファイル名を表す文字列を指定します。
@param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。
@param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。
@see File.utime... -
Shell
# atime(filename) -> Time (6303.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.atime... -
Shell
# ctime(filename) -> Time (6303.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.ctime... -
Shell
# delete(*filename) -> Integer (6303.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.delete... -
Shell
# expand _ path(path) -> String (6303.0) -
Fileクラスにある同名のクラスメソッドと同じです.
...Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path... -
Shell
# lstat(filename) -> File :: Stat (6303.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.lstat... -
Shell
# mtime(filename) -> Time (6303.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列か IO オブジェクトを指定します。
@see File.mtime... -
Shell
# process _ controller -> Shell :: ProcessController (6303.0) -
@todo
...@todo... -
Shell
# stat(filename) -> File :: Stat (6303.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.stat...