30件ヒット
[1-30件を表示]
(0.054秒)
ライブラリ
- shell (6)
-
shell
/ command-processor (24)
クラス
- Shell (6)
-
Shell
:: CommandProcessor (24)
キーワード
-
alias
_ map (6) -
unalias
_ command (6)
検索結果
先頭5件
-
Shell
:: CommandProcessor . alias _ command(alias , command , *opts) -> self (21202.0) -
@todo
...@todo
@param alias エイリアスの名前を指定します。
@param command コマンド名を指定します。
@param opts コマンドに与えるオプションを指定します。
@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。... -
Shell
:: CommandProcessor . alias _ command(alias , command , *opts) { . . . } -> self (21202.0) -
@todo
...@todo
@param alias エイリアスの名前を指定します。
@param command コマンド名を指定します。
@param opts コマンドに与えるオプションを指定します。
@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。... -
Shell
. alias _ command(alias , command , *opts) { . . . } -> self (18207.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
:: CommandProcessor . unalias _ command(alias) -> self (9100.0) -
エイリアスを削除します。
...エイリアスを削除します。
@param alias 削除したいエイリアスを指定します。... -
Shell
:: CommandProcessor . alias _ map -> Hash (6116.0) -
Shell::CommandProcessor.alias_command で定義したエイリアスの一覧を返します。
...Shell::CommandProcessor.alias_command で定義したエイリアスの一覧を返します。...