in reply to Re^3: redirect output from a command to another command
in thread redirect output from a command to another command

I assume you did not intend to do a bitwise & on line 12?
  • Comment on Re^4: redirect output from a command to another command

Replies are listed 'Best First'.
Re^5: redirect output from a command to another command
by ikegami (Patriarch) on Mar 02, 2011 at 16:56 UTC
    «& ~MASK» turns off bits MASK, and this was the intent.