Quote:
Originally Posted by
Peasant
Bakunin, why not using logger to log ?
On first glance, looks like the script(s) should stay portable, perhaps a bit shorter.
First, i tried hard to make the whole thing as independent from it surroundings as possible. Up to now, the library has worked on Linux (SLES, RHEL, centOS, Fedora, OpenVZ), Solaris, HP-Ux, and AIX while being developed mainly on AIX. It also works on both ksh88 and ksh93 and the most part of it even on bash. Introducing
logger as a prerequisite would hurt that goal.
Second: i am terminally lazy! When i started the library aobunt 20 years ago logging was one of the first things i implemented. Since it worked (and worked well, for my purposes) i never got around to change it.
bakunin