- Strength to Increase Rep
- +5
- Strength to Decrease Rep
- -1
- Upvotes Received
- 5
- Posts with Upvotes
- 5
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hello! I am very new to perl and linux systems in general, so I am hoping that someone can help with this problem! I have a very large table of data (100 rows and between 300000 to 2 million columns) that looks like this: [ICODE]sitenames site1 site2 site3 site4 site5 … |
|
Hello everyone, i am fairly new to shell scripting so please bear with me. The following script is supposed to read words from a file and depending on the word print different things. However it always prints the default value. It also refuses to work completely if the first line … |
|
Re:
Hi, I have a sytem path like "C:\Users\ABC\XYZ\1.txt". I need to convert this to 'C:\Users\ABC\XYZ\1.txt'. Any help is appretiated. Thank you. |
|
Re:
Hi, let say that i have this excel file that contains column of account number and the name of the customer. And I want to extract any of the data that have duplicate. And the script should be able to get the duplicate only if the both of the account … |
|
Re:
I have wikimedia tags in a text file. I need to get rid of these tags from starting to ending even when nesting. I'm using Perl. I'm facing a difficulty in nested tags. I'll give two examples of these tags that I could not to remove. Example 1: {{ text … |
|
Re:
Im looking to put a loop into a program i have created but right now it only runs on a static IP hardcoded in the program. I would like it to loop through a list of IP addresses from a CSV file and loop until all IP have been used. … |
|
Re:
Hi, I have 2 sets of multiple sequence files of DNA sequences. Examples of set 1 are as follows: Seq1.txt contains: ATACAGGATCAGATG Seq2.txt contains: ATACCGGATCAGATG Seq3.txt contains: ATACAGGGTCAGATG Examples of set 2 are as follows: Seq1.txt contains: >seq1 ATACAGGATCAGATG >seq2 Seq2.txt contains: ATACCGGATCAGATG >seq3 Seq3.txt contains: ATACAGGGTCAGATG I want one/two … |
|
Re:
Hi, I have a file which contains some lines of text. What I want to do is after the first two lines, insert a new sentence. So if the original file looks something like this: Sachin Ganguly Dravid Laxman Sehwag after the insertion, I want it to look like this: … |
|
Re:
Hi, I tried to make a script but I need some help from you guys.. ıt will be like a fixing.. The output which ı had from my script and my script were sent as an attachment. 1)Can i get that output as left aligned? 2)Besides can you guys make … |
|
Re:
Hello, I am building a website using a standard form and perl script that we commonly use, but this one has a special request and I don't know how to handle it because I have very little knowledge of Perl, other than what is in the standard script I have … |
|
Re:
Hi, I have a text file which has some lines, I may append others periodically, so I want a code that trails it (say at an interval of 5 seconds). When it sees that for 5 consecutive intervals no new line has been appended, the code decides to exit. Here's … |
|
Re:
Hello Perl Guru's I am playing with two text files using perl but i have been end up after a one day effort and got nothing there fore i have decided to post some thing here for help well here are some details that what actually i want to do … |
|
Re:
I try to match 01010 with /010/ but there is one return ([B]010[/B]10) for this match. There are actually two match (010-is common-10) in that string with regex. I used /010/g but againit returns just one match. Is it possible to match this regex twice with such string? |
|
Re:
I try to have a regex that has at least constraint in a string like "a string has at least two 'a' in it" and possibly "a string has at most three 'a'". Do you have any suggestion how to do it? Thanks for any answer? |
|
Hello everyone, assuming i want to write some values into my database of choice i found two ways to do this. [CODE] my $sql = "INSERT INTO table (foo, bar, foobar) VALUES (?, ?, ?)"; my $sth = $dbh->prepare($sql); foreach(sort keys %hash) { $sth->execute($_, $hash{$_}, $some_other_value); } [/CODE] as opposed … |
|
Re:
Hi, I have encounter a strange result couldn't figured out. # Str with format "Mon MM HH", try to skip leading space in DD. my $str = "Jan 8 11"; # Jan, 8th 11 o'clock print substr($Str, 0,3) . [B]substr($Str, 4,2)=~s/^\s+// [/B]. substr($Str, 7,2) . "\n"; The result is "Jan11", … |
|
Re:
Hello, I was wondering if anyone could help me with something. I am not a programmer yet I am able to modify scripts to a certain extent. I recently downloaded a script to read an existing CSV file and output via an SSI call. What I would like to do … |
|
Re:
Hi! I need help! I need to create a program in c++ that ask a question, there is a multiple choice, display if your answer is wrong or correct. Like the gameshow "Who wants to be a millionaire" and included "LIFELINE" I tried and it runs but when I chose … |
|
Re:
Hello I would like to program my own 2d game into C++. I know its hard I know it needs a lot of time but I strongly believe the only way to learn c++ is to program so if you won't swim deeper you will never learn to swim. I … |
|
Hey everyone, i've been trying to send some words seperated by spaces to a server and only the first word arrives. The connection stuff is all fine but i have absolutely no idea whatsoever how to make it send more than one word at once. This is what i'm talking … |
|
Hi everyone, as said in the title i have a _very_ basic IRC bot that keeps disconnecting after a few seconds. This is what i have so far and i'm grateful for every hint you might have. I also checked this thread but it did not really help: [url]http://www.daniweb.com/forums/thread243489.html[/url] [code] … |
|
hi everyone, how can i react on a plugged in usb drive? (e.g. show a messagebox or whatever when a usb drive is plugged in) The whole thing needs to run under windows only (xp and maybe vista) |
|
Hi everyone, i wrote this small app and it works fine but it erases everything up to the offset and everything after it. Anyone knows how to avoid that? [CODE=C++]#include <iostream> #include <fstream> int main() { int hex = 0x75; std::ofstream f("sample.exe", std::ios::binary); f.seekp(1169, std::ios::beg); f.write(reinterpret_cast<const char *>(&hex), 2); f.close(); … |
|
Re:
Hi All, I want to set the version number of my application and show it in my form. Going through some forums, I read that I had to implement 'Version' in my resource file, so that's what I did. But... after setting the version in the resourcefile to 0.0.0.99 and … |
|
Hi everyone, as the heading already says i want to check whether a folder is a network share or not. So far i tried to achieve this by reading the file attributes but that did not lead to the right solution. If anyone here knows how to do this please … |