Translate

Archives

Image of Linux Kernel Development (3rd Edition)
Image of Modern Operating Systems (3rd Edition)
Image of Android Wireless Application Development
Image of XSLT 2.0 and XPath 2.0 Programmer's Reference (Programmer to Programmer)

KSH93 Compound Variables

Most Unix and GNU/Linux shells implement a flat variable namespace. Korn shell 93 implements a hierarchical variable namespace. This enabled the implementation of an aggregate definition for a shell variable to include subvariables called compound variables. This post tries to explain compound variables in some detail and demonstrate how useful they can be in when dealing with structured data.

JavaScript Shells

Recently I was working on a fairly complex JavaScript script relating to floating point conversions for a new Web page.  After a while I got tired on trying to debug the problem via a Web browser and decided to see if I could find a JavaScript shell, i.e. a standalone Javascript intrepreter just like Ruby’s irb, Python’s interactive prompt or the Korn shell, which could load and run JavaScript scripts from the command line without having to reload a Web page. First, some background on the JavaScript langauge for those who are unfamilar with the details.  JavaScript is a complex full-featured weakly

IEEE Std. 1003.1-2008

I am a big fan of the POSIX.1 standard.  The lastest version of this standard (IEEE Std. 1003.1-2008) was released in December 1st 2008.  The formal name for this version of the standard is Portable Operating System Interface (POSIX) Base Specifications, Issue 7. Like its predecessors, IEEE Std. 1003.1-2004 and IEEE Std. 1003.1-2001, it was developed by the Austin Common Standards Revision Group (CSRG), more commonly called the Austin Working Group, which is a joint technical working group established in 1999 to develop and maintain the core open systems interfaces.  The working group’s stated approach to specification development is write