Thursday, April 28, 2005

script command

The script command is helpful to get a transcript of the commands you enter and the output displayed on the terminal.
You start by typing script filename ( in the absence of filename the default filename is typescript)

The script command ends when you exit the forked shell by typing control-d.
more info on man script ofcourse ;)

Wednesday, April 13, 2005

commandline arguments in perl

unlike C , in perl the first command line argument is ARGV[0] and not ARGV[1]
$#ARGV is the subscript of the last element of the @ARGV array

Monday, April 11, 2005

latex row height in tabular

\renewcommand\arraystretch{MyValue}% (MyValue=1.0 is for standard spacing)