作者gglk (錦州挖挖)
看板b95902HW
標題Re: [作業] 系程MP2
時間Sun May 4 18:06:30 2008
※ 引述《aliby (小青)》之銘言:
: 想請問一下
: 1. "the order of the file printed must conform to the depth-first policy"
這個我有寄信問助教,以下是問題:
6.the order of the file printed must conform to the depth-first policy,想問一下這個ORDER是說先被DFS SEARCH到的檔案叫做 ORDER在前,還是先FINISH(即他所有的子孫都被VISIT過)的叫做 ORDER在前?
然後是助教的答覆:
前者,先找到先輸出
: 這是指如果有 match的檔案 一定要從最深的directory開始印嗎?
: 2. search時 是否不需理會symoblic link的檔名match
: 以及它link到的filename match 的這兩種情形?
: 3. "Note that the searching order is based on original filenames and
: the printed filenames should be the original ones"
: 這是說:只要依照被搜尋到的順序print被我們rename的檔案的original filename
: 而不必印出它被rename成什麼樣子嗎?
: 謝謝助教或任何回答的人<(_ _)>
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 125.232.145.206