Re: [Mingw-msys] [mingw - MSYS] Bison for MSYS
- Date: Wed, 12 Sep 2007 14:43:55 +0800
- From: "刘昊" <leomayleomay@xxxxxxxxx>
- Subject: [Mingw-msys] About clear screen in a shell script.
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:
#!/bin/sh
vim sourcecode.cpp
clear
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
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Mingw-msys mailing list Mingw-msys@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/mingw-msys
- References:
- Re: [Mingw-msys] [mingw - MSYS] Bison for MSYS
- From: Keith MARSHALL
- Re: [Mingw-msys] [mingw - MSYS] Bison for MSYS
- Prev by Date: [Mingw-msys] [mingw - MSYS] RE: bash empty for-loop
- Next by Date: Re: [Mingw-msys] [mingw - MSYS] Bison for MSYS
- Previous by thread: Re: [Mingw-msys] [mingw - MSYS] Bison for MSYS
- Next by thread: Re: [Mingw-msys] [mingw - MSYS] Bison for MSYS
- Index(es):