Im facing problem in assigning value of eval array variable as normal variable..
x=0
eval DATA${x}="FJSVcpcu"
x=`expr $x + 1`
eval DATA${x}="FJSVcsr"
if x=0, type -> eval echo \$DATA$x , its give me FJSVcpcu
i want assign this value into an variable as
variable=`eval echo... (3 Replies)
Hello,
I have a script that does an scp to a server and then gets the number of process running on that server, the o/P should be stored in a variable for further processing
eval `echo "ssh -q $Infa_user@$host 'csh -c $CMD '"`
where
CMD="ps -ef | grep -i ${INFA_REPO} | grep -v grep | wc... (2 Replies)
Help !!
First, Thanks in Advance
Here is what I have
I have an environment Variable, let's call it v_VALUE.
v_VALUE="\$ORACLE_HOME/bin" Hence, the location is ORACLE_HOME is not evaluated. ORACLE_HOME happens to be /app/oracle/product/10.1.2
I need a method of returning the... (1 Reply)
Hi,
i have an issue with eval and variable assignment.
1) i have a date value in a variable and that date is part of a filename,
var1=20100331
file1=${var1}-D1-0092.xml.zip
file2=${var2}-D2-0092.xml.zip
file3=${var3}-D3-0092.xml.zip
i am passing the above variables to a script via... (11 Replies)
Hi Gurus,
I am having 2 parameters as below
parm1=value1
parm2=parm1
I want to evaluate parm1 value using eval echo \$$parm2 and later i want to assign this value to other variable which i will be using in if statement like :
if ]; then
do this.......
fi
could you please suggest... (5 Replies)
According to the POSIX specifications eval is a special shell built-in, which should imply that variable assignments specified together with it should remain in effect after the built-in completes. Thus one would expect IFS to be changed after this:
var=$'a\nb c'
$ IFS=$'\n' eval '
for i in... (4 Replies)
background : Solaris, ksh
metresult="ooo
> pp"
ts=89
eval append_${ts}="$metresult"
bash: pp: command not found
I want to create a variable which has in a part of its name a dynamically-established number (stored in another variable) usually I do this with eval command. The problem I... (5 Replies)
pattern1=book
{
x=1
eval echo \$pattern$x
}
book (this is the output)
But when I assign a variable to the output of the eval it doesn't work unless I prefix 2 times backslash before $ as shown below.
{
a=`eval echo \\$pattern$x`
echo $a
}
book
Why here twice "\" has to be... (3 Replies)
Discussion started by: ravisingh
3 Replies
LEARN ABOUT DEBIAN
formmailtest
formmailtest(1) General Commands Manual formmailtest(1)NAME
formmailtest - attempt to use formmail to relay to a DSBL-complaint host
SYNOPSIS
formmailtest <url> [<spoof recipient>]
DESCRIPTION
formmailtest attempts to connect to the specified host and uses several different to attempt to relay through the FormMail script located
at <url>. It can do more tests if the normal recipient for that FormMail script is provided as <spoof recipient>, but it can quite often
relay without.
Tests are done with both GET and POST to attempt to bypass any firewall/httpd.conf/.htaccess pseudo-security.
In the tests described below, DOMAIN is the section of <spoof recipient> after the @ sign, USER is the section before, and DASHDOMAIN is
DOMAIN after all periods have been replaced by dashes.
Tests:
recipient=listme@dsbl.org
recipient=dsbl.org!listme
realname=&email=
Cc: listme@dsbl.org&recipient=()
realname=)
Cc: listme@dsbl.org (&recipient=()
recipient=listme%dsbl.org@DOMAIN
recipient=dsbl.org!listme@DOMAIN
recipient=listme@dsbl.org(DOMAIN
recipient=<listme@dsbl.org>DOMAIN
realname=&email=0c: listme@dsbl.org&recipient=DOMAIN
realname=)0c: listme@dsbl.org (&email=&recipient=DOMAIN
recipient=listme@dsbl.org(USER@DASHDOMAIN
recipient=<listme@dsbl.org>USER@DASHDOMAIN
AUTHOR
Ian Gulliver <ian@penguinhosting.net>
SEE ALSO dsbl.conf(5), spamtrap(1)
2002-04-03 formmailtest(1)