12件ヒット
[1-12件を表示]
(0.070秒)
ライブラリ
- shell (6)
-
shell
/ command-processor (6)
クラス
- Shell (6)
-
Shell
:: CommandProcessor (6)
検索結果
-
Shell
. unalias _ command(alias) -> () (24325.0) -
commandの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
:: CommandProcessor . unalias _ command(alias) -> self (24301.0) -
エイリアスを削除します。
エイリアスを削除します。
@param alias 削除したいエイリアスを指定します。