Assignment 6 Date : 11 Oct 2000 Due Date : 20th Oct 2000 Create a simple text editor which can (at least theoretically) handle huge files. It takes a file name as a command line argument, and it takes commands: :i inserts a new line (typed next) after current line :g n go to line number n :r replaces current line by contents of line typed in next :d deletes current line :p m n prints lines m through n The file is to be stored as a database, with one object per line. Lines are to be linked together in a linked list. To avoid name clashes in the database, your file names MUST be of the form loginname-filename Submit a printout of your program. Please work with each other to figure out how to use versant and the demo programs, but you must write the assignment on your own. Note : Versant is installed on pro-26. Its path is /usr/local/versant Setup instructions : Add following lines in your .profile. export PATH=/usr/local/egcs-1.1.2_obj/bin:/usr/local/versant/5.2.2/linux/bin:$PATH export LD_LIBRARY_PATH=/usr/local/versant/5.2.2/linux/lib:/usr/local/versant/5.2.2/linux/lib/linux:/usr/local/versant/5.2.2/linux/lib/linux.chk The demo files are in /usr/local/versant/5.2.2/linux/demo