Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   How to pass attachment names to an Execute line?, posted by Alexandre Lindote on Thu Oct 19 11:45:18 2006 
    icon2.gif   Re: How to pass attachment names to an Execute line?, posted by Stefan Ritt on Thu Oct 19 19:45:35 2006 
Message ID: 2007     Entry time: Thu Oct 19 11:45:18 2006     Reply to this: 2011
Icon: Question  Author: Alexandre Lindote  Author Email: alex@lipc.fis.uc.pt 
Category: Question  OS: Linux  ELOG Version: 2.6.2-1699 
Subject: How to pass attachment names to an Execute line? 
Hi,

I'm trying to pass the name of an attachment in a "Execute new " line, but I can't seem to get the correct syntax...
I've tried:
Execute new = echo "New document with reference $Internal Ref with the name $attachements " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $attachements1 " >> /home/zeplin3/lixo.log
Execute new = echo "New document with reference $Internal Ref with the name $1 " >> /home/zeplin3/lixo.log

but nothing seem to work. If I remove the $attachments bit the output is correct...
Any suggestions?

Thanks

Alex
ELOG V3.1.5-fe60aaf