看板 EE_DSnP 關於我們 聯絡資訊
查到的資料在下面,剛剛研究了一下為什麼不是-rc @@ 推測是說,因為c是可以直接下(不需要-) r又合併使用,所以直接接在後面就認得了,比-rc簡單 所以就變成cr了 (推測啦) 主要的功能就是確保要產生的Archive存在,並且如果早已存在就取代之 沒加也沒差的話應該就只是他需要確保的條件不成立而已:P **** man ar的結果 [generic modifiers] c Create the archive. The specified archive is always created if it did not exist, when you request an update. But a warning is issued unless you specify in advance that you expect to create it, by using this modifier. [commands] r Insert the files member... into archive (with replacement). This operation differs from q in that any previously existing members are deleted if their names match those being added. If one of the files named in member... does not exist, ar displays an error message, and leaves undisturbed any existing members of the archive matching that name. By default, new members are added at the end of the file; but you may use one of the modifiers a, b, or i to request placement relative to some existing member. The modifier v used with this operation elicits a line of output for each file inserted, along with one of the letters a or r to indicate whether the file was appended (no old member deleted) or replaced. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.4.234
dryman:GJ!! 09/30 11:48
ric2k1:Push! 09/30 16:56