[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
limits determination in shell
From: |
Pádraig Brady |
Subject: |
limits determination in shell |
Date: |
Thu, 13 Nov 2008 13:53:46 +0000 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20071008) |
I was wondering adding/generalizing some of the test shell
scripts in coreutils. Often one wants to check various
boundary cases so it would be nice to be able to obtain
various limits as coreutils sees them.
I could use getconf, but that's not guaranteed to
match coreutils and doesn't if you look at `getconf SSIZE_MAX`,
and I'm not sure of it's availability anyway.
So I was wondering if there was something already
existing to get these limits from coreutils?
If not then perhaps adding a util so one could:
eval $(getlimits) to have them available in shell?
I'm not suggesting util for users, just for
use by the coreutils test scripts.
cheers,
Pádraig.
- limits determination in shell,
Pádraig Brady <=