Zdravstvuite.

Proshu prosheniya za translit i za vozmoznyi offtopic, no che-to ya ne
znayu kuda takoi vopros posylat.

Imeetsa fail test.txt. Naprimer takoi:
a b
a b
a c

Teper esli sdelat
tail -f test.txt | grep a

poluchaem output:
a b
a b
a c

A esli sdelat
tail -f test.txt | sed -e "s/a/a/" | grep a

to nikakogo outputa ne prihodit.

Pochemu?

Spasibo,
Konstantin.

Ответить