1件ヒット
[1-1件を表示]
(0.012秒)
ライブラリ
- shell (1)
検索結果
-
Shell
. unalias _ command(alias) -> () (22.0) -
commandのaliasを削除します.
...例。
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("...