Search Results

Search: Posts Made By: amlife
3,023
Posted By amlife
Thank you
Thank you
3,023
Posted By amlife
perl extract content of file
I'm using Mail::Internet module, which will basically filter through email content and extract the body of the message

my perl script to extract the body of the email


#!/usr/bin/perl -w...
2,045
Posted By amlife
Well yes! the file has over 1 million lines and...
Well yes! the file has over 1 million lines and its pretty big!

awk 'NR==FNR{A[$1]=1;next}!A[$1]' excludefile inputfile > outputfile


this command did something but it didn't work! it took...
2,045
Posted By amlife
oh yeah I did that on my initial run to do invert...
oh yeah I did that on my initial run to do invert stuff!

the thing is its running! but still very slow! is there is a faster way?
2,045
Posted By amlife
Script to fill in sed input
Hello

I have a file with list of numbers

380634062
380907172
380733031
380733032
380896961
380896962
381067621
381067622
380995932

I would like to find a way to fill in a sed...
1,469
Posted By amlife
Script - Mysql backup and delete
Hello

I have a production mysql server and archive server, unfortunitly its not possible to setup repliacation between the two, the reason is that the archive server is using some fancy storage...
1,176
Posted By amlife
My thoughts, which I hope it will be helpful! ...
My thoughts, which I hope it will be helpful!

1. Use compression! for example gzip is very popular choice!
2. get your script to delete old backups .. maybe use find command to search and delete...
1,767
Posted By amlife
check the difference between 2 array
Hello

Thanks everyone for the help earlier, what I would like to learn now is how can I achieve the following :



array1 = (1234567,7665456,998889,000909)
array2 =...
1,721
Posted By amlife
Just another quick question ... Assuming...
Just another quick question ...

Assuming I'm pulling similar data from mysql can I incorporate the above with mysql while loop?

for example





but its not quite working for me yet!
1,721
Posted By amlife
it worked like a charm for both examples! ...
it worked like a charm for both examples!

Thank you so much!
1,721
Posted By amlife
Perl help
Hello all

I have a csv file filled with content like this
1111111|2222222|3333333
4444444|5555555|6666666
7777777|6666666|4444444

How can I read the content of the file and assign the first...
Showing results 1 to 11 of 11

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