SAC needs getopt, implementation provided
| Bugzilla Link | 921 |
| Created on | Feb 23, 2012 10:30 |
| Resolution | FIXED |
| Resolved on | Mar 10, 2012 10:27 |
| Version | svn |
| OS | Linux |
| Architecture | PC |
| Attachments | SACgetopt.tar |
Extended Description
The getopt library routine is a handy tool which is often used to parse command line options and arguments in a standardized way. See the getopt(3) manual page. The fact that SAC heretofore lacked such a facility made porting software from C to SAC more cumbersome and errorprone than needed. Therefore the attached getopt module was developed for SAC. It includes a test script.