Search Results

Search: Posts Made By: andresgom
2,328
Posted By andresgom
Thanks a lot stuckinboredom !! The code ...
Thanks a lot stuckinboredom !!
The code
eval echo $`echo $i`
works fine!!

Regards,
2,328
Posted By andresgom
Hi Rangarasan. Thanks a lot. myarr=($@) ...
Hi Rangarasan. Thanks a lot.

myarr=($@)
This works great!! Thanks!!

But This doesn't work as I need, see:

for i in `seq 1 $#`;
do
echo ${i}
done

This is the output
$ ./wrapper.sh...
2,328
Posted By andresgom
For loop; how to construct a array with variables
Hi everybody!!

Here is the thing; I have a trouble in this simple situation, I'm trying to write an array with all the arguments of a command. I mean, if I have:
./mycommand.sh aa bb cc dd
I...
1,575
Posted By andresgom
thaks
Thanks a lot Yoda, It is very useful.
1,575
Posted By andresgom
awk and a variable
Hi everybody.


I'm using the AWK command in a simple script.
I'm using this command like this:



$ cat /etc/passwd | awk -F: '$1=="proxy" {print}'

Its useful, I have this output:
...
Showing results 1 to 5 of 5

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