Hello Costin,

Friday, December 14, 2001, 4:03:54 AM, you wrote:


tac fila >> fila1
cat doua_linii >>> fila1
tac fila1 >> fila

CV> dar daca vreau sa fac pt 100 de fisiere sa zicem? de asta am intrebat 
CV> altfel editam fisierele.

echo linie1 > /tmp/header
echo linie2 >> /tmp/header
for file in /cale/*; do
    echo Fisierul cu care lucrez s.n. $file
    cp /tmp/header /tmp/fisier
    cat $file >> /tmp/fisier
    mv /tmp/fisier $file
done

Cu tac ar merge mai greu, mai ales daca fisierele sunt maricele..



-- 
Numai bine,
Claudiu Filip
[EMAIL PROTECTED]

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui