About Me


Articles

Kornshell

The kornshell 93 is probably the most advanced unix shell.

Latest Articles:

Fast Way to Read a File 2011/11/07 17:25 Did you ever try to read a potentially large text file into an array using kornshell 93? The conservative approach The obvious way would be to read the file line by line in a while loop like this typeset -i i=0 while read line do lines[i++]="$line" done <inputfile
Nested associative Arrays 2011/09/29 10:00 This articel describes one of the lesser known features of the kornshell 93, nested associative Arrays. Let's say, you want to represent the contents of an INI-style file as a shell variable. The first index should hold the section names and the second one the key names.

Paul Herger

SCSA Zertifikat

 
knowhow/kornshell.txt · Last modified: 2010/10/01 11:15 by Paul Herger
© Paul Herger