From mboxrd@z Thu Jan 1 00:00:00 1970 From: xlp Subject: Adding 'random' features Date: Thu, 27 Jun 2002 03:20:52 -0500 Sender: linux-c-programming-owner@vger.kernel.org Message-ID: <20020627032052.A993@nietzsche> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Return-path: Content-Disposition: inline List-Id: Content-Type: text/plain; charset="us-ascii" To: linux-c-programming@vger.kernel.org hi, i have certain binary and I want that each 3 times the file is executed, it perform different things that it does normally. I can do that one time YES and other no: if file a exists -> then do smthg; rm file a if ! file a exists -> then do smthg; touch file a Now, I want to 3 times!. anyone?