<br id="yMail_cursorElementTracker_1521899589875"><div id="ymail_android_signature">Salut,</div><div id="yMail_cursorElementTracker_1521899641878"><br></div><div id="yMail_cursorElementTracker_1521899642575">In enuntul temei [0] se precizeaza urmatoarele:</div><div id="yMail_cursorElementTracker_1521899893226">- definirea variabilelor se face sub forma NUME_VARIABILA=valoare</div><div id="yMail_cursorElementTracker_1521899943681">-nu trebuie tratat cazul in care _valoare_ contine referiri la alte variabile de mediu</div><div id="yMail_cursorElementTracker_1521899752219"><br></div><div id="yMail_cursorElementTracker_1521900021427">Totusi, in test apare MYGROUP=$USER-group si se verifica ca in output2 sa apara "student-group", deci sa aiba loc interpretarea $USER.</div><div id="yMail_cursorElementTracker_1521900155805"><br></div><div id="yMail_cursorElementTracker_1521900156392">Cum se doreste sa se procedeze, pana la urma?</div><div id="yMail_cursorElementTracker_1521900187776"><br></div>[0] <a id="linkextractor__1521900190254" data-yahoo-extracted-link="true" href="https://ocw.cs.pub.ro/courses/so/teme/tema-2" class="lEnhancr_1521900192563">Tema 2 Mini-shell    [CS Open CourseWare]</a><div id="lEnhancr_1521900192563" class="yahoo-link-enhancr-card yahoo-link-enhancr-cardSize-medium yahoo-link-enhancr-cardType-yenhancr yahoo-link-enhancr-cardCategory-  ymail-preserve-class ymail-preserve-style" style="max-width: 400px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; position: relative;" contenteditable="false" data-url="https://ocw.cs.pub.ro/courses/so/teme/tema-2" data-type="LINK_ENHANCR_ATTACHMENT_TYPE_INLINE" data-category="" data-embed-url="" data-size="medium">
                       <a href="https://ocw.cs.pub.ro/courses/so/teme/tema-2" style="text-decoration:none !important; color: #000 !important;" class="yahoo-enhancr-cardlink" target="_blank" rel="noreferrer">
                           <table class="card-wrapper yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" style="max-width:400px;">
                               <tbody><tr>
                               <td width="400">
                                   <table class="card yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" width="100%" style="max-width:400px;">
                                       <tbody><tr>
                                           <td class="card-primary-image-cell" style="background:#000 url('https://s.yimg.com/lo/api/res/1.2/FJ99MHxQiwjotAjh6nVF3w--~A/Zmk9ZmlsbDt3PTQwMDtoPTIwMDthcHBpZD1pZXh0cmFjdA--/https://ocw.cs.pub.ro/courses/lib/tpl/arctic/images/button-chimeric-de.png.cf.jpg') no-repeat center center;background-size:cover;height:200px;position:relative;" background="https://s.yimg.com/lo/api/res/1.2/FJ99MHxQiwjotAjh6nVF3w--~A/Zmk9ZmlsbDt3PTQwMDtoPTIwMDthcHBpZD1pZXh0cmFjdA--/https://ocw.cs.pub.ro/courses/lib/tpl/arctic/images/button-chimeric-de.png.cf.jpg" bgcolor="#000000" valign="top">

                                               <!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:0;left:0;"><v:fill type="frame" color="#000000" src="https:&#x2F;&#x2F;s.yimg.com&#x2F;lo&#x2F;api&#x2F;res&#x2F;1.2&#x2F;FJ99MHxQiwjotAjh6nVF3w--~A&#x2F;Zmk9ZmlsbDt3PTQwMDtoPTIwMDthcHBpZD1pZXh0cmFjdA--&#x2F;https:&#x2F;&#x2F;ocw.cs.pub.ro&#x2F;courses&#x2F;lib&#x2F;tpl&#x2F;arctic&#x2F;images&#x2F;button-chimeric-de.png.cf.jpg"/></v:rect><![endif]-->

                                               <table class="yahoo-ignore-table" cellpadding="0" cellspacing="0" border="0" valign="top" style="width:100%;">
                                                   <tbody><tr>
                                                       <td style="background:transparent url('https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png') repeat left top;height:200px;" background="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png" bgcolor="transparent" valign="top">

                                                           <!--[if gte mso 9]><v:rect fill="true" stroke="false" style="width:400px;height:218px;position:absolute;top:-18px;left:0;"><v:fill type="pattern" color="#000000" src="https://s.yimg.com/nq/storm/assets/enhancrV2/12/overlay-tile.png"/><v:textbox inset="0,0,20px,0"><![endif]-->

                                                           <table class="yahoo-ignore-table" height="185" style="width:100%;height:185px;min-height:185px;">
                                                               <tbody><tr>
                                                                   <td class="card-richInfo2" style="text-align:left;text-align:left;padding:15px 0 0 15px;vertical-align:top;">
                                                                   </td>
                                                                   <td class="card-actions" style="text-align:right;padding:15px 15px 0 0;vertical-align:top;">
                                                                       <div class="card-share-container"></div>
                                                                   </td>
                                                               </tr>
                                                           </tbody></table>

                                                           <!--[if gte mso 9]></v:textbox></v:rect><![endif]-->
                                                       </td>
                                                   </tr>
                                               </tbody></table>
                                           </td>
                                       </tr>
                                       <tr>
                                           <td>
                                               <table class="card-info yahoo-ignore-table" align="center" cellpadding="0" cellspacing="0" border="0" style="background:#fff;position:relative;z-index:2;width:95%;max-width:380px;border:1px solid #e0e4e9;border-bottom:3px solid ;margin-top:-40px;margin-left:auto;margin-right:auto;">
                                                   <tbody><tr>
                                                       <td style="background-color:#ffffff;padding:16px 0 16px 12px;vertical-align:top;">
                                                       </td>

                                                       <td style="vertical-align:middle;padding:16px 12px;width:99%;">
                                                           <h2 class="card-title" style="font-size: 16px; line-height:19px; margin:0 0 4px 0;font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;">Tema 2 Mini-shell    [CS Open CourseWare]</h2>
                                                           <p class="card-description" style="font-size:11px;line-height:15px;color:#999;"></p>
                                                       </td>

                                                       <td style="text-align:right;padding:16px 12px 16px 0;">
                                                       </td>
                                                   </tr>
                                               </tbody></table>
                                           </td>
                                       </tr>
                                   </tbody></table>
                               </td>
                               </tr>
                           </tbody></table>
                       </a>
                   </div><div id="yMail_cursorElementTracker_1521900190288"><br></div><div id="yMail_cursorElementTracker_1521900190402">Multumesc,</div><div id="yMail_cursorElementTracker_1521900201450">Darius</div><div id="yMail_cursorElementTracker_1521900207979"><br> <blockquote style="margin: 0 0 20px 0;"> <div style="font-family:Roboto, sans-serif; color:#6D00F6;"> <div id="yMail_cursorElementTracker_1521899727726">Pe dum. mar. 18, 2018 la 11:52, Darius Mihai via so</div><div><so@cursuri.cs.pub.ro> a scris:</div> </div> <div style="padding: 10px 0 0 20px; margin: 10px 0 0 0; border-left: 1px solid #6D00F6;"> Am testat tema pe ambele mașini virtuale (atât cea veche, cât și cea nouă),<br clear="none">și nu funcționează pe niciuna. Nu îmi dau seama cum la tine ar funcționa, dar<br clear="none">din ce văd din cod nu ții cont că variabilele se pot seta în funcție<br clear="none">de alte variabile.<br clear="none"><br clear="none">Pentru debug îți recomand să rulezi manual în shell-ul tău comenzile din input<br clear="none">și vezi dacă se comportă la fel ca în bash.<br clear="none"><br clear="none">Darius<br clear="none"><div class="yqt8599629307 yQTDBase" id="yqtfd31230"><br clear="none">2018-03-18 11:16 GMT+02:00 Darius Mihai <<a shape="rect" ymailto="mailto:dariusmihaim@gmail.com" href="mailto:dariusmihaim@gmail.com">dariusmihaim@gmail.com</a>>:<br clear="none">><br clear="none">> Da, este OK acum.<br clear="none">><br clear="none">> Ca mențiune, eu vreau să văd dacă este o problemă la testare;<br clear="none">> pentru karma te rog să îi adaugi pe responsabilii de temă.<br clear="none">><br clear="none">> Darius<br clear="none">><br clear="none">> 2018-03-18 11:09 GMT+02:00 Catalin Neagu <<a shape="rect" ymailto="mailto:neagu.catalin.f@gmail.com" href="mailto:neagu.catalin.f@gmail.com">neagu.catalin.f@gmail.com</a>>:<br clear="none">>><br clear="none">>> Salut,<br clear="none">>><br clear="none">>> Ai dreptate, gresisem eu. Am facut acum pasii de la punctul 2 si am reusit sa te adaug.<br clear="none">>> Poti vedea proiectul meu acum?<br clear="none">>><br clear="none">>> Multumesc de ajutor,<br clear="none">>> Catalin<br clear="none">>><br clear="none">>> Pe 18 martie 2018, 10:43, Darius Mihai <<a shape="rect" ymailto="mailto:dariusmihaim@gmail.com" href="mailto:dariusmihaim@gmail.com">dariusmihaim@gmail.com</a>> a scris:<br clear="none">>>><br clear="none">>>> Salut,<br clear="none">>>><br clear="none">>>> Oh... Ai greșit link-ul. Ar trebui să fie [1], așa cum este<br clear="none">>>> specificat și pe wiki [2].<br clear="none">>>><br clear="none">>>> [1]: <a shape="rect" href="https://gitlab.cs.pub.ro/" target="_blank">https://gitlab.cs.pub.ro/</a><br clear="none">>>> [2]: <a shape="rect" href="https://ocw.cs.pub.ro/courses/so/teme/folosire-gitlab" target="_blank">https://ocw.cs.pub.ro/courses/so/teme/folosire-gitlab</a><br clear="none">>>><br clear="none">>>> Darius<br clear="none">>>><br clear="none">>>> 2018-03-18 10:36 GMT+02:00 Catalin Neagu <<a shape="rect" ymailto="mailto:neagu.catalin.f@gmail.com" href="mailto:neagu.catalin.f@gmail.com">neagu.catalin.f@gmail.com</a>>:<br clear="none">>>>><br clear="none">>>>> Salut,<br clear="none">>>>><br clear="none">>>>> Da, am trimis aseara invitatia pe mail.<br clear="none">>>>> Poate am gresit eu ceva cand am facut contul de Gitlab...<br clear="none">>>>> N-as crede totusi, pentru ca aici(screenshot) pare fi totul in regula...<br clear="none">>>>><br clear="none">>>>><br clear="none">>>>> On Mar 18, 2018 9:33 AM, "Darius Mihai" <<a shape="rect" ymailto="mailto:dariusmihaim@gmail.com" href="mailto:dariusmihaim@gmail.com">dariusmihaim@gmail.com</a>> wrote:<br clear="none">>>>>><br clear="none">>>>>> Salut,<br clear="none">>>>>><br clear="none">>>>>> Proiectul tău încă nu îmi apare în listă pe gitlab. Ești sigur că ai dat corect acces?<br clear="none">>>>>><br clear="none">>>>>> Darius<br clear="none">>>>>><br clear="none">>>>>> 2018-03-18 2:11 GMT+02:00 Catalin Neagu <<a shape="rect" ymailto="mailto:neagu.catalin.f@gmail.com" href="mailto:neagu.catalin.f@gmail.com">neagu.catalin.f@gmail.com</a>>:<br clear="none">>>>>>><br clear="none">>>>>>> Salut,<br clear="none">>>>>>><br clear="none">>>>>>> Te-am adaugat.<br clear="none">>>>>>><br clear="none">>>>>>> Multumesc,<br clear="none">>>>>>> Catalin<br clear="none">>>>>>><br clear="none">>>>>>> Pe 18 martie 2018, 01:29, Darius Mihai <<a shape="rect" ymailto="mailto:dariusmihaim@gmail.com" href="mailto:dariusmihaim@gmail.com">dariusmihaim@gmail.com</a>> a scris:<br clear="none">>>>>>>><br clear="none">>>>>>>> Salut,<br clear="none">>>>>>>><br clear="none">>>>>>>> Nu văd vreun motiv evident pentru care s-ar întâmpla. Te rog să îmi dai acces pe GitLab pentru a putea să testez câteva lucruri (ID <a shape="rect" ymailto="mailto:darius.mihai@stud.acs.upb.ro" href="mailto:darius.mihai@stud.acs.upb.ro">darius.mihai@stud.acs.upb.ro</a>).<br clear="none">>>>>>>><br clear="none">>>>>>>> Darius<br clear="none">>>>>>>><br clear="none">>>>>>>> 2018-03-18 0:40 GMT+02:00 Catalin Neagu via so <<a shape="rect" ymailto="mailto:so@cursuri.cs.pub.ro" href="mailto:so@cursuri.cs.pub.ro">so@cursuri.cs.pub.ro</a>>:<br clear="none">>>>>>>>><br clear="none">>>>>>>>> Buna seara,<br clear="none">>>>>>>>><br clear="none">>>>>>>>><br clear="none">>>>>>>>> Testul 8("Testing environment variables") pica pe VMChecker, dar pe masina virtuala de pe ocw trece. Care ar putea fi cauzele?<br clear="none">>>>>>>>><br clear="none">>>>>>>>> Multumesc,<br clear="none">>>>>>>>> Catalin<br clear="none">>>>>>>>><br clear="none">>>>>>>>> Virus-free. www.avast.com<br clear="none">>>>>>>>><br clear="none">>>>>>>>> _______________________________________________<br clear="none">>>>>>>>> <a shape="rect" href="http://ocw.cs.pub.ro/courses/so/info/lista-discutii" target="_blank">http://ocw.cs.pub.ro/courses/so/info/lista-discutii</a><br clear="none">>>>>>>><br clear="none">>>>>>>><br clear="none">>>>>>><br clear="none">>>>>><br clear="none">>>><br clear="none">>><br clear="none">><br clear="none">_______________________________________________<br clear="none"><a shape="rect" href="http://ocw.cs.pub.ro/courses/so/info/lista-discutii" target="_blank">http://ocw.cs.pub.ro/courses/so/info/lista-discutii</a></div> </div> </blockquote></div>