in reply to Re: What does ">>" do? (And other stat questions)
in thread What does ">>" do? (And other stat questions)
Hello,
Thanks for taking the time to debug and respond.
Could you please give me a little insight to what this means:
DB<4> printf "%04o", $mode ; 100755 DB<5> printf "%04o", $mode & 07777; 0755
I think you're trying to show me what happens when you binary "&" 33261 and 07777? maybe that doesn't make any sense because the 07777 isn't present in DB<4> but is in DB<5>. I read in a link above that "&" has lower precedence, so that would bean that "printf "%04o", $mode" is evaluated first? But that doesn't make any sense since printf would do the printing... Ok, I thought I was starting to understand... But I don't think I do.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: What does ">>" do? (And other stat questions)
by Laurent_R (Canon) on Nov 01, 2013 at 11:37 UTC | |
|
Re^3: What does ">>" do? (And other stat questions)
by Laurent_R (Canon) on Nov 01, 2013 at 12:07 UTC | |
by three18ti (Monk) on Nov 03, 2013 at 00:57 UTC | |
by Laurent_R (Canon) on Nov 03, 2013 at 09:45 UTC | |
by three18ti (Monk) on Nov 05, 2013 at 06:25 UTC | |
by Laurent_R (Canon) on Nov 05, 2013 at 13:57 UTC |