SECTION 35 - BUILDING VIM FROM SOURCE 35.1. How do I build Vim from the sources on a Unix system? For a Unix system, follow these steps to build Vim from the sources: - Download the source and run-time filles archive (vim-##.tar.bz2) from the ftp://ftp.vim.org/pub/vim/unix directory. - Extract the archive using the bzip2 and tar utilities using the command: $ bunzip2 -c | tar -xf - - Run the 'make' command to configure and build Vim with the default configuration. - Run 'make install' command to installl Vim in the default directory. To enable/disable various Vim features, before running the 'make' command you can run the 'configure' command with different flags to include/exclude the various Vim features. To list all the available options for the 'configure' command, use: $ configure -help #### #!/usr/bin/perl # # Reformat the project3Dada.txt file to make more accesible $file = '/u/home/jhart2/perl/project3Data.txt'; # Name the file open(INFO, $file); # Open the file for input use strict; use warnings; my $NoOfCharsPerLine = 80; my $NoOfLinesPerPage = 100; my $RightMargin = 7; my $header = 3; my $footer = 5; my @argument; # Read command line arguments @argument = split(/=/, $ARGV[0]); if ($argument[1] =~ /\D/) { print "Nonumeric value for lines option \"$argument[1]\" --script aborted\n"; } if ($argument[0] eq "--chars") { $NoOfCharsPerLine = $argument[1]; } elsif ($argument[0] eq "--lines") { $NoOfLinesPerPage = $argument[1]; } else { print "unrecognized command line option \"$argument[0]\" --script aborted\n"; exit; } close(INFO); # Close the file print "$NoOfCharsPerLine\n"; print "$NoOfLinesPerPage\n";