![]() |
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 |
| Breaking out of a pipe | oinkl | Shell Programming and Scripting | 3 | 02-13-2009 11:49 AM |
| sed command breaking because of / | nookie | Shell Programming and Scripting | 2 | 10-11-2008 09:16 AM |
| Breaking line | scorp_rahul23 | Shell Programming and Scripting | 4 | 09-18-2008 08:45 AM |
| rsh breaking me out of loop | mark007 | Shell Programming and Scripting | 1 | 06-13-2008 08:10 PM |
| Breaking Mirror | egress1 | HP-UX | 4 | 08-25-2004 09:09 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Using 'break' is breaking my leg - HELP!
Hello,
I am having problems breaking out a while loop and then trying to call another method afterwords, the 'FirstMain' method is never called once I break. How can get teh code to do this? I have been trying since Yesterday and no joy...Plan B 'SUICIDE' ![]() FirstMain() { .......does somthing } SecondMain() } echo "User enter somethin" read x while read line ; do if [.. something..] ; then ...do something 1... elif [.. something..] ; then ...do something 2... else break FirstMain fi done < somefile.txt echo "glad I am out" } |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|