![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| passing variable from bash to perl from bash script | arsidh | Shell Programming and Scripting | 10 | 06-04-2008 01:25 PM |
| Problem in checking file abort | ahjiefreak | Shell Programming and Scripting | 1 | 04-16-2008 09:42 PM |
| examine core file after abort() | svact | UNIX for Advanced & Expert Users | 2 | 08-10-2007 06:15 AM |
| how to make a bash script that can be executed by people simultaneously? | jimmbp | Shell Programming and Scripting | 4 | 01-31-2006 01:15 PM |
| Abort core dumped!!!! | zing | Filesystems, Disks and Memory | 2 | 07-10-2003 01:59 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to make bash script abort?
I have a little bash script that includes make to compile with g++ and then a statement to actually run the compiled program. When it (the script) gets a syntax error, it does not abort and continues to run the previous version of the program.
How can I make the script abort when g++ generates a syntax error so it does not run the program again? Thanks, Siegfried |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|