作者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