Scuze, exemplul era:<br>> echo "<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" > a.out<br>
> cat a.out<br>bash: cat: Bad address</blockquote><br><br><br><div class="gmail_quote">2009/3/31 mihai chiritescu <span dir="ltr"><<a href="mailto:mihaichiritescu@gmail.com">mihaichiritescu@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Salut, <br><br>Cand redirectez o cantitate mai "mare" de caractere intr-un fisier si apoi imediat incerc sa afisez fisierul imi da<br>
eroarea: "bash: cat: Bad address". Ciudat este ca daca mai incerc odata sa afisez fisierul il afiseaza corect. <br>
Exmeplu: <br>> echo "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"<br> > cat a.out<br>bash: cat: Bad address<br><br>Eu cand apelez functia execvp, fiecare argument al lui echo (in cazul asta) are alocat cate 1000 de caractere deci nu ar trebui sa fie problema de alocare..<br>
Are cineva vrea explicatie?<br><br>Multumesc, <br><br>Chiritescu Paul<br>
</blockquote></div><br>