linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Adding 'random' features
@ 2002-06-27  8:20 xlp
  2002-06-27  8:27 ` Carlos Fernandez Sanz
  0 siblings, 1 reply; 2+ messages in thread
From: xlp @ 2002-06-27  8:20 UTC (permalink / raw)
  To: linux-c-programming

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?


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-06-27  8:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-27  8:20 Adding 'random' features xlp
2002-06-27  8:27 ` Carlos Fernandez Sanz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).