[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problème "c.." avec lirc et bash



> Si j'essaie :
> irw >tmp/lirc : je relis impec la fifo
> irw |awk '{print $0}' >/tmp/lirc : rien ne ressort sur la fifo

Essaie de jouer avec la command stdbuf, par exemple (non testé):
stdbuf -i0 -o0 -e0 irw |awk '{print $0}' >/tmp/lirc
Par ailleurs, si ton awk est en réalité gawk ou mawk, ca fait une différence, dans ce cas http://www.perkin.org.uk/posts/how-to-fix-stdio-buffering.html pourra t'aider.

@+, JD.


Reply to: