我們假定我們有這個輸出在bash控制檯:在bash輸出如何解析鏈接
$ findgrep RAILS_ENV
./script/munin_stats:7:RAILS_ENV = ENV['RAILS_ENV'] || "development"
./script/munin_stats:12: dbconfig = dbhash[RAILS_ENV]
./lib/tasks/juggernaut.rake:4: @rails_env = ENV["RAILS_ENV"] || "development"
./lib/tasks/cruise.rake:19: ENV['RAILS_ENV'] = 'test'
./lib/tasks/populate.rake:15: dumper = MysqlDumper.new(ActiveRecord::Base.configurations[RAILS_ENV])
./lib/tasks/populate.rake:21: dumper = MysqlDumper.new(ActiveRecord::Base.configurations[RAILS_ENV])
./lib/tasks/populate.rake:29: RAILS_ENV = "test"
如何創建的文件名(例如」 ./script/munin_stats:7' )可點擊的鏈接(例如Ctrl +點擊),它將在我最喜歡的編輯器中打開選定的文件?
你在哪裏見過bash中的「可點擊鏈接」? – 2009-10-14 10:07:42
@Laurence:大多數終端仿真程序在控制檯輸出中實現與網絡鏈接相似的功能。 – 2009-10-14 10:10:33
關於unix.se的相同問題:http://unix.stackexchange.com/questions/63417/ – sendmoreinfo 2016-02-13 17:04:22