[so] [Tema2][Linux] Testul 7
Catalin Moraru
catalin.me at gmail.com
Wed Apr 7 18:51:40 EEST 2010
Am modificat fisierele *.out din checker astfel incat sa nu mai inceapa cu
\n.
Anuntati daca mai intampinati probleme de genul asta.
Catalin
2010/4/6 Ciprian Mihai Coman <ciprianmihai.coman at gmail.com>
> Se pare ca diff merge putin ciudat, in sensul ca are rezultate diferite in
> functie de ordinea fisierelor.
>
> Exemplu:
>
> $ echo -e "abc\n" > test1
> $ echo -e "\nabc" > test2
> $ diff -BEb test1 test2
> 1d0
> < abc
> 2a2
> > abc
> $ diff -BEb test2 test1
> $
>
>
>
> 2010/4/6 Lavinia Petrache <lavinia.petrache at gmail.com>
>
> Salut!
>>
>> Am remarcat si eu acea linie noua, testul imi pica, insa daca sterg din
>> rezultatul oficial linia goala imi trece.
>>
>> În data de 6 aprilie 2010, 18:16, Catalin Moraru <catalin.me at gmail.com> a
>> scris:
>>
>> Checkerul face diff -BEb intre fisierul de output corect si cel obtinut de
>>> voi.
>>> -B inseamna ca ignora liniile goale deci nu va afecta testarea (man diff
>>> pentru mai multe detalii )
>>>
>>>
>>> Catalin
>>>
>>>
>>> 2010/4/6 Ciprian Mihai Coman <ciprianmihai.coman at gmail.com>
>>>
>>>> Cred ca e o mica greseala la outputul testului 7: prima linie este
>>>> goala, iar textul care ar trebui sa-l afiseze clientul este pe linia 2.
>>>>
>>>> --
>>>> Ciprian
>>>>
>>>> _______________________________________________
>>>> so mailing list
>>>> so at cursuri.cs.pub.ro
>>>> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
>>>>
>>>>
>>>
>>> _______________________________________________
>>> so mailing list
>>> so at cursuri.cs.pub.ro
>>> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
>>>
>>>
>>
>> _______________________________________________
>> so mailing list
>> so at cursuri.cs.pub.ro
>> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
>>
>>
>
>
> --
> Ciprian
>
> _______________________________________________
> so mailing list
> so at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/lurker/list/so.html/attachments/20100407/7d91974c/attachment.htm>
More information about the so
mailing list