Translate

Archives

Bash Printf %T Option

This post discusses and demonstrates how to use the printf %T date functionality available in the Bash shell since version 4.2.

Manipulating Binary Data Using The Korn Shell

In this post, I demonstrate via a number of working example scripts how to manipulate binary files and data using Korn Shell 93. I also compare and contrast how binary data is stored internally by the Korn Shell and the Z Shell.

The KSH93 Version String

In this short post, I explain the various parts of the ksh93 version string and show you some useful things you can do with the version string.

Bash-like Customizable Prompt in Korn Shell

Bash has built-in support for extensive PS1 prompt customization and as a result many people customize their shell prompts. There is no equivalent built-in support for PS1 customization in ksh93 but such support can easily be added using discipline functions.

Dynamically Updating Xterm Title using Ksh93

In this post, I show you how to use a discipline function dynamically customize the title of your xterm window and your shell prompt