Re: [SP2005] Assignment 3 範例檔案更正

看板b92902xxx作者 (大老闆)時間19年前 (2005/05/22 03:42), 編輯推噓2(201)
留言3則, 2人參與, 最新討論串2/2 (看更多)
※ 引述《NeilPeng (閒閒沒事也會煩)》之銘言: : 同學你好, : Assignment 3 的範例輸出二 (sample_output_2) 有錯誤,目前已 : 經於網站上更正。 : 錯誤原因主要在於第二次執行 status 時,sample_output_2 少了 : 一次 foreground process exit status 的輸出,background : process exit status 輸出的位置也不正確。 : 謝謝 B92902106 莊典融同學的指正。 : 造成各位同學不便之處還請見諒。 : SP2005 課程助教 : 彭念劬 助教您好 我有幾個問題想要請教 1. output format 的格式是依照 Minishell2005.pdf 中的 Process %6d ... 或是 sample output 中的 Process ID: 2. 在 Minishell2005.pdf 中第 3 頁 Command Execution 第二段第 2 行 If a command is terminated by a signal, a message indicating which signal terminated the process will be printed. 以及第 3 行 When a background process is started your shell will print out its process id; 就我的理解 被 IO redirection 的應該是 child process 還是說 IO redirection 時 連 shell 的 也被改變了 不然的話 感覺在 sample output 中應該不會出現上面兩段所要印出來的 3. status The status command prints out the exit status of the previous command. previous command 是指前一個所下的 command 還是前一個結束的 command 又, background process 也要算進去嗎? 最後 繳交的檔案到底是 A3.tar (from web-site) 還是 minishell.tgz (from document) -- 女人要麼是奴隸,要麼是暴君,但絕非男人的伴侶。 L. V. Sacher Masoch -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.112.30.55 ※ 編輯: Lwms 來自: 140.112.30.55 (05/22 04:40)

59.121.215.62 05/22, , 1F
不急 等到deadline過了以後
59.121.215.62 05/22, 1F

59.121.215.62 05/22, , 2F
一切就會明朗化了 XD
59.121.215.62 05/22, 2F

59.112.229.63 05/22, , 3F
可參考作業網站^^
59.112.229.63 05/22, 3F
文章代碼(AID): #12Zuylhf (b92902xxx)
文章代碼(AID): #12Zuylhf (b92902xxx)