Forum: C Jul 1st, 2008 |
| Replies: 5 Views: 853 |
Forum: C Jun 27th, 2008 |
| Replies: 5 Views: 853 |
Forum: Shell Scripting Jun 25th, 2008 |
| Replies: 4 Views: 1,624 Script to telnet to another server Hello,
I need to create a shell script to telnet to a remote server. Perform some action and then exit from that server.
I am trying with a dummy script:
#!/bin/bash
telnet 172.11.11.21... |
Forum: Legacy and Other Languages Jun 24th, 2008 |
| Replies: 5 Views: 1,407 |
Forum: Legacy and Other Languages Jun 20th, 2008 |
| Replies: 5 Views: 1,407 |
Forum: Java May 20th, 2008 |
| Replies: 5 Views: 510 |
Forum: Java May 20th, 2008 |
| Replies: 5 Views: 510 |
Forum: Java May 20th, 2008 |
| Replies: 5 Views: 510 Problem while using functions readline and split. Hello,
I am writing a small java code which read from a text file line by line and parses each read line(hash seperated).
Here is the code snippet:
in =new BufferedReader(new InputStreamReader(new... |
Forum: Shell Scripting May 8th, 2008 |
| Replies: 3 Views: 1,474 |
Forum: Shell Scripting May 8th, 2008 |
| Replies: 3 Views: 1,474 Shell Script for yesterday's date. Can any one guie me how to find yesterday's date (taking care of the leap years as well)in the format yymmdd using a shell script.
Regards. |
Forum: Shell Scripting May 1st, 2008 |
| Replies: 5 Views: 645 |
Forum: Shell Scripting May 1st, 2008 |
| Replies: 5 Views: 645 |
Forum: Shell Scripting Apr 30th, 2008 |
| Replies: 5 Views: 645 |
Forum: C Apr 11th, 2008 |
| Replies: 3 Views: 602 |
Forum: C Apr 9th, 2008 |
| Replies: 3 Views: 602 |
Forum: C Apr 7th, 2008 |
| Replies: 11 Views: 1,702 |
Forum: C Apr 7th, 2008 |
| Replies: 11 Views: 1,702 Re: Segmentation Fault at fclose Hello,
Thanks everybody, the issue is resolve. The problem was - the same logging function was being called by two threads without any mutex or concurrency checks being appiled on the functions.... |
Forum: C Apr 4th, 2008 |
| Replies: 7 Views: 549 |
Forum: C Apr 4th, 2008 |
| Replies: 7 Views: 549 |
Forum: C Apr 4th, 2008 |
| Replies: 7 Views: 549 |
Forum: C Apr 2nd, 2008 |
| Replies: 7 Views: 549 |
Forum: C Apr 1st, 2008 |
| Replies: 7 Views: 549 |
Forum: C Mar 16th, 2008 |
| Replies: 11 Views: 1,702 Re: Segmentation Fault at fclose Thanks for ur response.. Well I do understand its difficult to understand from a code snippet. I ll try to explain wat I am trying to do. I hv taken a global file pointer. I open a file wit that file... |
Forum: C Mar 15th, 2008 |
| Replies: 11 Views: 1,702 Re: Segmentation Fault at fclose Hey I just forgot to specify that i am initially opening a file pointer before calling this function. Basicaaly, I am trying to implement cyclic logging i.e. if the my file size increeasies say 10... |
Forum: C Mar 14th, 2008 |
| Replies: 11 Views: 1,702 Segmentation Fault at fclose Hello,
In one of my C codes, I have written a function for logging into a files. When the size of the file exceeds 10 MB, I close that file and open a new file. But at run time my Code is crashing at... |
Forum: C Aug 9th, 2007 |
| Replies: 2 Views: 480 Data compreesion in C Hi All,
I am trying to compress a text file using C. For example, if data written in a text file is ABCDEFGH, it occupies 8 bytes. I want it to occupy only 1 byte so that the size of the file can be... |