bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with syscmd


From: Markus Petek
Subject: Problems with syscmd
Date: Thu, 27 Aug 2009 09:30:07 +0200

System:

Windows XP Prof SP2

m4 Version: 1.4.10b-2

 

I want to start a batch file from my m4 project witch makes some calculations for me.

Afterwards it creates a new file with the results witch I include in the project again.

If I start it in the windows shell with

 

m4\1.4.10b-2>m4 test.m4

 

it shows no error message but the test.tmp is also not created

OUTPUT:

this is a syscmd test

 

this is the result of 98/3

32

 

This is my example *.bat file

create_test_temp.bat:

echo eval([^<98/3^>]) >> test.tmp

echo define([^<ACCU_VALUE^>],123-%1%) >> test.tmp

 

This is my m4 file

test.m4

syscmd(`create_test_temp.bat’)

include(`test.tmp’)

 

so whats wrong??

 

 

cid:image003.png@01C923C8.1BDADF50

Markus Petek

BL Identification, BU A&I

NXP Semiconductors Austria Gmbh Styria

Mikronweg 1,   A-8101 Gratkorn, Austria  

Tel : +43 3124 299 414,  Fax: -124

E-mail: address@hidden; www.nxp.com

 

Vertraulichkeitshinweis:

Diese Nachricht ist ausschließlich für die Personen bestimmt, an die sie adressiert ist.

Sie kann vertrauliche und/oder nur für den/die Empfänger bestimmte Informationen

enthalten. Sollten Sie nicht der bestimmungsgemäße Empfänger sein, kontaktieren

Sie bitte den Absender und löschen Sie die Mitteilung.

Jegliche unbefugte Verwendung der Informationen in dieser Nachricht ist untersagt.

 

Confidentiality Notes:

The information contained in this message is confidential and may be legally privileged.

The message is intended solely for the addressee(s). If you are not the intended recipient,

you are hereby notified that any use, dissemination, or reproduction is strictly prohibited

and may be unlawful. If you are not the intended recipient, please contact the sender by

return e-mail and destroy all copies of the original message.

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]