Re: mkfifo and tee within a function

2006-12-06 Thread Eric Blake
Chet Ramey case.edu> writes: > > $>cmd_print () { mkfifo zout ; (tee zout &); cat zout ; rm zout; } > > $>printf 'hello\n' | cmd_print > > When job control is not active, Posix requires that a command run in the > background with `&' behave as if its standard input were /dev/null in the > absenc

Re: bug with built-in printf

2006-12-06 Thread Eric Blake
Chet Ramey case.edu> writes: > > Using printf with a large integer results in incorrect conversion to > > hexadecimal. > > > > Repeat-By: > > > > printf "%08X" 2604292517 > > > > On this version results in the incorrect string "-64C5A65B". > > Thanks. I fixed it. In the interest of open sou