Bash to Perl/C
From: John (johns_at_hotmail.com)
Date: 12/26/04
- Next message: Mike Blezien: "Hash problem"
- Previous message: Jose Nyimi: "Generate XML Schema from a relational table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 26 Dec 2004 01:42:04 GMT
Hi,
I need to write a really quick perl AND/OR c program that does what this
bash loop below:
----------------------------------------------------
while true
do
Q=A ; echo $Q > /tmp/A
Q=B ; echo $Q > /tmp/B
done
----------------------------------------------------
Also, it would be great if this program in addition to writing value of
variable to /tmp file, assigned value of this variable to shell variable so
it was visible to the shell that started this app.
Thanks
- Next message: Mike Blezien: "Hash problem"
- Previous message: Jose Nyimi: "Generate XML Schema from a relational table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|