In a number of posts about a year ago I discussed how to develop custom builtins for Korn Shell 93 (ksh93) using libshell and published APIs. You can also use these same APIs to access ksh93 functionality from within a C application. This post provides three simple examples of how to do this.
ksh93 supports localization of internal error messages and getopts messages but localization of user messages in shell scripts is flawed. This post examines the issue and shows you how to easily support shell script message catalogs.
Have you ever wanted to determine whether a DVD or CDROM is a bootable CDROM or DVD from within a shell script? If you use GNU/Linux you could parse the output from the isoinfo utility which is part of the CDRecord tools suite.
What if the isoinfo utility is not available on your operating system? In [...]
When programmers think about bitwise manipulation, they usually think about using C or C++ to solve their problem since both programming languages provide a rich set of features which make it easy to perform bitwise manipulation.
However it is possible to just as easily perform such operations using the ksh93 shell. This post will explain what [...]
According to David Korn, a shell is primarily a string processing language. Pattern matching is an important compoment of any such language and indeed Korn Shell 93 (ksh93) has excellent support for extended patterns as well as regular expressions. Extended patterns can be thought of as class or type of extended regular expressions. Both [...]