I am running a perl script on a brand new linux box and I've executed it three times and all three times the OS has rebooted mid way through the script.
I've ran the script successfully on a 10 record file and it works but the file I need to run it on is 192MM records and 1109 bytes long...
I'm looking for an Excel macro that will sort a column and bring the duplicates to the top. For example...
Worksheet before macro...
ID
1
1
1
4
2
3
5
4
3
5
Worksheet after macro...
ID Count of ID
1 3
1 3
1 3
3 2
3 2
4 2
4 2
5 2
5 2
2 1
The sort will float the IDs with the most...
I have experiance writing base SAS and Perl in a linux environment but I'm looking to expand my knowledge into something different. I want to learn how to create windows applications and with so many OOP languanges out there I'm not really sure which to start with...C++, C#, Visual Basic, Ruby...
I'm trying to create a perl script that creates a sql script to load a table to a database based on a CSV file that's passed to perl and I'm having a problem. Currently the piece of the code says:
...
open (CSV_FILE, "$csv_file") or die "Can't open $csv_file: $!";
open (SQL_FILE...
I'm trying to log into an ftp server to monitor for a file but when I do an ftp->ls it's not returning anything. Any help would be much appreciated.
#!/usr/bin/perl
use Net::FTP;
my $now = localtime;
my $report_path = "/u01/home/ftp.log";
my $path = "path";
my $ftpdest = "host";
my $ftpuser...
Hey all, I'm running this command on a linux box...
sudo -u gpg /usr/bin/gpg --homedir= /u01/home/mydir/.gnupg/ --no-tty --encrypt --recipient "RECIPIENT_KEY" < test.txt > test.txt.gpg
where RECIPIENT_KEY is the key referenced on import
I get this error...
sudo: no passwd entry for gpg!
Is...
Hey everybody...sorry for the dumb question but I need to know how to load a pgp/gpg key to a linux server that has gpg installed. Is there a specific directory that i paste the key into...i.e.../var/, /usr/, /bin/, etc.
Any help would be great and thanks in advance.
Have a great day.
Guys, sorry if this is a dumb question but I'm looking to write a Perl script that will search the contents of fileA to see if the contents of fileB are in there. If they are in there write records out that match to file and the records that aren't to another file.
fileA is fixed and I'm...
I am wanting to grep the contents of fileA in fileB...so if anything in fileB exist in fileA i want to write it out to fileC but i can't remember how to grep a file instead of a string.
I know this isn't right but i can't get it to work anyway...
grep fileA fileB > fileC
or
grep fileA <...
I've got a large file that I want to bounce against another large file to see which records exist on both file. Only problem is one of the files is over a half billion and the other is 200 million. I'm worried about using a grep command and exhausting the memory on the server. Does anybody...
I am needing help randomizing a data set in SAS. What i want to do is read in a data set and if you meet a certain criteria, select a random sample to put in one bucket and put the rest in another bucket.
Say 100 records have x > 10, i want a random 60 put in one data set and the rest put in...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.