in reply to Re^2: Get file min and max size help!
in thread Get file min and max size help!
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Get file min and max size help!
by Corion (Patriarch) on Aug 29, 2011 at 19:05 UTC |