210件ヒット
[1-100件を表示]
(0.142秒)
ライブラリ
- etc (12)
- shell (60)
-
shell
/ command-processor (48) -
shell
/ filter (42) -
shell
/ system-command (24) - shellwords (24)
クラス
- Array (12)
-
Etc
:: Passwd (12) - Shell (60)
-
Shell
:: CommandProcessor (48) -
Shell
:: Filter (42) -
Shell
:: SystemCommand (24) - String (12)
検索結果
先頭5件
-
Shell
# dirname(filename) -> String (23302.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.dirname... -
Shell
# dir _ stack -> [String] (23203.0) -
@todo
@todo -
Shell
# basename(filename , suffix = "") -> String (23202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き......'.' を含まない任意の文字列にマッチします。
@see File.basename... -
Shell
# expand _ path(path) -> String (23202.0) -
Fileクラスにある同名のクラスメソッドと同じです.
...Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path... -
Shell
# readlink(path) -> String (23202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param path シンボリックリンクを表す文字列を指定します。
@see File.readlink... -
Shell
# record _ separator -> String (23202.0) -
@todo
@todo -
String
# shellescape -> String (21314.0) -
文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。
...文字列を Bourne シェルのコマンドライン中で安全に使えるようにエスケープします。
string.shellescape は、Shellwords.escape(string) と等価です。
@return エスケープされた文字列を返します。
@see Shellwords.#shellescape... -
Etc
:: Passwd # shell -> String (21203.0) -
このユーザのログインシェルを返します。
このユーザのログインシェルを返します。 -
Shell
# dirs -> [String] (20103.0) -
@todo
@todo -
Shell
# echo(*strings) -> Shell :: Filter (17226.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...返します.
@param strings シェルコマンド echo に与える引数を文字列で指定します。
動作例
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
# ftype(filename) -> String (17202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param filename ファイル名を表す文字列を指定します。
@see File.ftype... -
Shell
# split(pathname) -> [String] (17202.0) -
File クラスにある同名のクラスメソッドと同じです.
...File クラスにある同名のクラスメソッドと同じです.
@param pathname パス名を表す文字列を指定します。
@see File.split... -
Shell
:: SystemCommand # command -> String (12203.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: SystemCommand # name -> String (12203.0) -
@todo
@todo
コマンド名を返します。 -
Shell
:: CommandProcessor # expand _ path(path) -> String (12202.0) -
Fileクラスにある同名のクラスメソッドと同じです.
...Fileクラスにある同名のクラスメソッドと同じです.
@param path ファイル名を表す文字列を指定します。
@see File.expand_path...