Hi, folks,

I've been writing a shell script, display my source code first, then prompt user to build from the source. I want the screen to be cleared after showing the code, but I can not do that in a shell script written under MSYS. Here is my script:


vim sourcecode.cpp


Do you want to build from source?[Y/N]:

read answer



Anyone here had the similar situation before? Any replies will be appreciated, thank you.

Best regards,

Hao Liu