24件ヒット
[1-24件を表示]
(0.129秒)
別のキーワード
ライブラリ
- shell (6)
-
shell
/ command-processor (18)
クラス
- Shell (6)
-
Shell
:: CommandProcessor (18)
検索結果
先頭4件
-
Shell
:: CommandProcessor . alias _ command(alias , command , *opts) -> self (24544.0) -
@todo
...@todo
@param alias エイリアスの名前を指定します。
@param command コマンド名を指定します。
@param opts コマンドに与えるオプションを指定します。
@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。... -
Shell
:: CommandProcessor . alias _ command(alias , command , *opts) { . . . } -> self (24544.0) -
@todo
...@todo
@param alias エイリアスの名前を指定します。
@param command コマンド名を指定します。
@param opts コマンドに与えるオプションを指定します。
@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。... -
Shell
. alias _ command(alias , command , *opts) { . . . } -> self (24538.0) -
コマンドの別名(エイリアス)を作成します。 コマンドが無い場合は、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
:: CommandProcessor . unalias _ command(alias) -> self (12507.0) -
エイリアスを削除します。
...エイリアスを削除します。
@param alias 削除したいエイリアスを指定します。...