can anybody please give some quick reference in how to insert characters or line of characters to a file... and how to exit the insert mode in the regular expression.
ex:
ed try.txt
1,$p -->prints everything
how do i get in to the insert mode ? " i " ???
then... how do i insert characters to this file?
then... how do i exit insert mode
thanks