Search Results

Search: Posts Made By: pinkgladiator
2,300
Posted By pinkgladiator
Is it possible to write some kind of script to do...
Is it possible to write some kind of script to do it? Thanks.
2,300
Posted By pinkgladiator
retract email in mailx
Does anyone know if it is possible to retract email sent by mailx? Thanks!
2,544
Posted By pinkgladiator
Thanks for everyone's posts. I really appreciate...
Thanks for everyone's posts. I really appreciate it. Chris's code has not worked for me though, this is the output:

someone@mail.com[1]
{2..2}: syntax error: operand expected (error token is...
2,544
Posted By pinkgladiator
read from a file to a list
Hello there,

I have a file that contents a list of email address, and each is separated by new lines. I want to read the first email address into TO: filed and the rest into a list and goes to cc...
1,737
Posted By pinkgladiator
Figured it out, there should be a new line in the...
Figured it out, there should be a new line in the end of the file, and I didn't.
1,737
Posted By pinkgladiator
Can't read the last line
Hi there,

I found a script that supposed to read a file line by line, but it skips the last line, any suggestions?

exec<$fname
value=0
while read line
do
value=`expr...
6,462
Posted By pinkgladiator
Strange! I used the following script to see how...
Strange! I used the following script to see how many lines of code I have, and it says 1, but I have two lines of code.

a=0
while read line
do a=$(($a+1));
echo $a;
done <...
6,462
Posted By pinkgladiator
It didn't work unfortunately. The array was not...
It didn't work unfortunately. The array was not past over to the shell script.

I'm changing methods. The perl script calls the shell script without parameters now. It writes to a file, and the...
6,462
Posted By pinkgladiator
I'm trying to call a shell script along two...
I'm trying to call a shell script along two inputs, the first one is a file and the second is an array. I tried the code, but it didn't work. Now that you know what I'm trying to do, would you...
6,462
Posted By pinkgladiator
Passing a file handler and an array from Perl to Shell Script
Hi there,

I am trying to call a shell script from a Perl script. here is the code:
@args = ("sh", "someshellprg.sh", "a file handler", "an array");
system(@args) == 0
or die "system @args...
2,212
Posted By pinkgladiator
Read multiple arrays in mysql in perl
I have a database that include 5 tables, and they are related to each other through foreign key relations. The root is called colleges. There are multiple colleges, and each college has 1+...
Forum: Programming 10-30-2008
4,904
Posted By pinkgladiator
How to query one to many mysql
Hi there,

I have a hierarchical database that include 4 tables. Table A is the parent of B, B is Parent of C, C is parent of D. If I want to query everything in D that is associated with A.name,...
Showing results 1 to 12 of 12

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