I am very new to scripting and would like to know how to write a script
which has two optional parameters two input arguments as shown below:
fileCreate <filename> <path>
parameter signifies the name of the file in which the
contents will be saved
parameter signifies the directory structure where the file will
When the program is executed it will open an editor and user can input any contents, that will be saved as specified.
If no parameters are passed, the default is current directory and
to the number of times the file is created)
If there already exists a file of similar name and having same contents then the user should be able to append the file or else just the date gets modified.