SyntaxFix
Write A Post
Hire A Developer
Questions
Finally I decided to use ls, and bash array expansion:
TEMP=( $( ls -ln FILE ) ) SIZE=${TEMP[4]}
it's not really nice, but at least it does only 1 fork+execve, and it doesn't rely on secondary programming language (perl/ruby/python/whatever)