文件操作 - rdoc
返回文件管理
返回主菜单
删除本文件
文件: /opt/alt/ruby27/bin/rdoc
编辑文件内容
#!/opt/alt/ruby27/bin/ruby # # This file was generated by RubyGems. # # The application 'rdoc' is installed as part of a gem, and # this file is here to facilitate running it. # require 'rubygems' version = ">= 0.a" str = ARGV.first if str str = str.b[/\A_(.*)_\z/, 1] if str and Gem::Version.correct?(str) version = str ARGV.shift end end if Gem.respond_to?(:activate_bin_path) load Gem.activate_bin_path('rdoc', 'rdoc', version) else gem "rdoc", version load Gem.bin_path("rdoc", "rdoc", version) end
修改文件时间
将文件时间修改为当前时间的前一年
删除文件