Never mind ... apparently today I'm an idiot...
Reading the documentation reveals that -s doesn't return a number. Instead, it indicates whether has nonzero size. If you need to know the file size, you'll have to use a suitable function to read the file size, and *then* compare it.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re^3: Get file min and max size help!
by roboticus
in thread Get file min and max size help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |