Re: problème "c.." avec lirc et bash
Le Thu, 23 May 2013 02:10:02 +0200, Sylvain L. Sauvage a écrit :
>> 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.
>
confirmation le awk Raspbian est un mawk. Je n'ai pas cherché pourquoi.
trouvé la solution chez perkin.org :
irw |awk -Winteractive '{print $0}' >/tmp/lirc
J'utilise "the awk manual" (en fait gawk) donc pas pu voir le -W.
Merci à tous les 2.
Claude
Reply to: