Need help with a script for vi
Does anyone know how to write a scipt to generate a file in vi. Where to put this file.
Example:
in the command mode: vi filename.java
in vi texteditor: should appear something like this
/*##############################################
# File: filename.java #
# Date: date created #
# Author: yourname #
# #
################################################/
class filename
{
public static void main (String [] args)
{
statements
}
}
// End of file
|