Akkor egyszeru, siman pakold a fenti while ciklust az sh -c parancssoraba. Nekem itt ubuntu-n megy, de a bubi a /bin/sh -t dash-sel csinalja.
Apropo, dash: kevesebb fuggosege van, emiatt gyorsabb a startup. Van viszont debianban is sash, standalone shell, ami statikusan van forditva. Valszeg ennek a legkisebb az overhead-je. Ha atallitod a /bin/sh -t erre (amugy is jo otlet, ha beut a krach, nem kell libekkel tokolni alapveto funkciokhoz), es a parancsnak egy while loop-ot adsz meg, pl. igy:
sh -c 'while read i; do echo $i; done' </etc/passwd
Akkor mar jo lesz szerintem.