You can execute the script from within the vi editor by using
:!%
where '%' refers to the file that you are currently editing.
:!%
where '%' refers to the file that you are currently editing.
This blog provides some ready-made tips, tricks, tweaks & interview questions-answers on C, C++, Perl, Shell Scripting and UNIX Commands.
No comments :
Post a Comment