[so] Testul 3 Windows

Stanciu Alexandru the_marian_2006 at yahoo.com
Fri Mar 23 18:47:07 EET 2012


From: Razvan Crainea <razvan.crainea at gmail.com>
To: Stanciu Alexandru <the_marian_2006 at yahoo.com>; Sisteme de Operare <so at cursuri.cs.pub.ro> 
Sent: Friday, March 23, 2012 6:26 PM
Subject: Re: [so] Testul 3 Windows
 

/3/23 Stanciu Alexandru <the_marian_2006 at yahoo.com>:
>
> Obtin asta:
>> cat test.txt
> test1
> test2
>

Și dacă folosești prima oară operatorul ">", ca în exemplul de mai
jos, ce obții?

rm test.txt
echo "test1" > test.txt
echo "test2" >> test.txt
cat test.txt

-- 
Răzvan Crainea


Obtin asta.
Alex at Alex-PC:/cygdrive/c/Users/Alex/Desktop/tema1-checker-win1$ ./mini-shell.exe 
> rm test.txt
> echo "test1" > test.txt
> echo "test2" >> test.txt
> cat test.txt
test1
test2

Poate sa fie problema din alta parte? Am verificat, si reverificat totul de o gramada de ori.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20120323/52859fd8/attachment.htm>


More information about the so mailing list