Search Results

Search: Posts Made By: Syms
1,508
Posted By Syms
thank u so much :-)
thank u so much
:-)
1,508
Posted By Syms
hi yeah it enters into the "no" .. but does not...
hi
yeah it enters into the "no" .. but does not recognise..

+ [ $vara = \( ]

this is how it checks for the condition.. any idea as to how it goes???
1,508
Posted By Syms
how to do this........... is it possible ???
hi

i have a variable called vara="(" i need to use this in a if condition like this..
vara="("
echo "$vara"
if ["$vara" = "(" ]
then
echo "yes"
else
echo "no"
fi
but this does not work...
1,708
Posted By Syms
can i exectue a command stored in a variable.it goes like this
hi

the code i ve written is as follows:
command="egrep ',100,|,200,' | wc -l"
count =`cat trial.txt | $command`
echo "$count"
the contents of
trial.txt is :
000,100,200,300,...
4,967
Posted By Syms
thanks a lot...... Its working :-)
thanks a lot...... Its working :-)
4,967
Posted By Syms
hi tried using append command it does not...
hi
tried using append command it does not work.. i m using korn shell.
And can u plx suggest a solution for if elif loop problem..?
4,967
Posted By Syms
have a problem with if elif loop .. plz help me with the script
count2=0
var2=NOT

if [ $count2 -eq 0 ]
then
echo"Loop1"
command="egrep ',$var1,"
if [ "$var2" = "OR" ]
then
echo "the command is OR"
...
10,023
Posted By Syms
hi madan .. i need to reuse the array variable...
hi madan .. i need to reuse the array variable outside the awk command..
echo ",asd,rgbh,(,rty,got,),sroe,9034," | awk -F"," '{ split($0, arr, ","); }END{ for ( i in arr ) { print arr[i] } }'
echo...
10,023
Posted By Syms
hi ghostdog, i need the script in ksh .. can ...
hi ghostdog,
i need the script in ksh .. can plz help me with that.. ?
10,023
Posted By Syms
hi matrix. i need to reuse the variables...
hi matrix.
i need to reuse the variables ..meaning... if i say echo "$arr[1]" i m getting the output as [1].. i want the value stored in arr[1]. how do i get that?
10,023
Posted By Syms
to assign cut values to an array
i need to seperate values seperated by delimiters and assign it to an array.. can u plz help me on that.

Variables = "asd,rgbh,(,rty,got,),sroe,9034,"
i need to assign the variables into arrays.....
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 08:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy