From: "Carlos Fernandez Sanz" <cfernandez@myalert.com>
To: linux-c-programming@vger.kernel.org
Subject: Re: Adding 'random' features
Date: Thu, 27 Jun 2002 10:27:38 +0200 [thread overview]
Message-ID: <005301c21db4$7f9c3e60$0b40440a@madcfernandez> (raw)
In-Reply-To: 20020627032052.A993@nietzsche
That doesn't seem like C to me...
Anyway instead of using the existance of a file (which obviously only has
two possible status) try storing something in the file :-)
----- Original Message -----
From: "xlp" <xlp@emtel.net.co>
To: <linux-c-programming@vger.kernel.org>
Sent: Thursday, June 27, 2002 10:20 AM
Subject: Adding 'random' features
> 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?
>
> -
> To unsubscribe from this list: send the line "unsubscribe
linux-c-programming" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
prev parent reply other threads:[~2002-06-27 8:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-27 8:20 Adding 'random' features xlp
2002-06-27 8:27 ` Carlos Fernandez Sanz [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='005301c21db4$7f9c3e60$0b40440a@madcfernandez' \
--to=cfernandez@myalert.com \
--cc=linux-c-programming@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).