Request help with C/C++, Perl, PHP, Python, Ruby, Bash Scripts, or other Linux programming/scripting related issues
I'm writing a script that takes 1 argument and searches the standard input stream for it.
So my script is getRecords.awk
I'm just starting to look into making a pidgin plugin and was wondering if anyone would like to assist (I'm a beginner when it comes to...
Hi Im trying to replace text in a file based upon a pattern.
The pattern Im looking for is:
this is my script to find out if a filename contains wither the word "drive_c", or "DosBox", and hopefully run the commands to run the app.
after a lot of searching I found a bash script which makes a list of data files and passes them one by one to a gnuplot script. The...
01 - album - track001.mp3
09 - album - track009.mp3
desired output files:
The code below creates 10 processes and then calls function(); which is kept in another file.
for (i=0; i<10; i++)
I've been looking around all evening trying to figure out the following:
I have a java class specifying a JNI native method. Through...
I am trying to learn G/AWK and was wondering if anyone could help me with the following:
I have an input file "numbers.txt" with 3...
One of the classics problems in Unix/Linux socket programming,
is to force cancel block operation (accept, recv ...).
Hi everyone, i got a problem in this shell scripts where during my execute time, in my third tries, if i enter a correct password then the program...
I recently installed Cygwin on my Windows XP.
when i try to use 'make' to produce executable programs,
it displays the following error...
Due to unsuccessful execution of a script all filenames under a directory have been changed .
Say "Sample" is the...
Hi, I have code to change to convert IP addresses to integers but you have to give it an address
echo 18.104.22.168 | perl -ne...
I have a simple problem.
I get the o/p of a command as this:
# brctl show
bridge name bridge id STP enabled ...
I would like to create a script to monitoring my server: mysql (users), cpu, memory, diskt, apache (logins)...
My idea is to make a small...
Please take a look at the following code snippet.
int x = 0, y = 5, z;
z = x && (y = 10);
The value of y after the...
I am pretty new in network programming, I want to write C program to delete routing entry in linux machine. Can anyone give me...
Hi Im wondering how to compare floating point variables. I tried:
I have a text file in which i need to replace all occurances of the word "prod" with "test". I should not replace for the substirng ...
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.