Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~7K People Reached
Favorite Forums
Favorite Tags
Member Avatar for programmer321

[code] 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. [/code]

Member Avatar for cfajohnson
0
3K
Member Avatar for programmer321

Hello, I have a query regarding a DOS command. I know this link is not the right place to ask queres about DOS but didnt find any another link in this forum. I need to send Cntrol +C to a running Exe (running on Windows) using a batch file.Can Any …

Member Avatar for mittelgeek
0
1K
Member Avatar for programmer321

[code] 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 8101<dummy.txt exit The dummy.txt contains the password. The script is not working with the port number. …

Member Avatar for eggi
0
183
Member Avatar for programmer321

[code] Hello, Please guide me to write how to write a C code for converting Unicodes (like 0905 for अ). the output i.e. अ should be written to a text file. Regards. [/code]

Member Avatar for programmer321
0
239
Member Avatar for programmer321

[code] 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 FileInputStream("file.txt"))); while((linedata =in.readLine())!=null) { System.out.println("Linedata: "+linedata); strparse = linedata.split("#"); line = strparse[1]; System.out.println("Line Number:"+strparse[1]); } the data …

Member Avatar for javaAddict
0
193
Member Avatar for programmer321

[code] Hello, I need to search from a text file all those number from the lines which which lie in the range 1 to 120. Say I have a file with number: 1 2 3 900 1200 so on... I want to only those lines which has numbers in the …

Member Avatar for radoulov
0
193
Member Avatar for programmer321

Hello, I have written a test code for signal handling. The code is compataable for both Windows and Linux. The code is as: [code=c] #include <signal.h> #include<stdio.h> #include<string.h> #include <sys/types.h> #ifdef WIN32 #include <windows.h> #else #include <unistd.h> #endif void intr_hdlr(void); void intr_hdlr2(void); int cnter=0; int sig_cnter=0; int main () { …

Member Avatar for programmer321
0
167
Member Avatar for programmer321

[code] 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 times during file closing. This …

Member Avatar for programmer321
0
2K
Member Avatar for programmer321

[code] Hello, I need my C code Exe to exit only using Cntrol + C and the cross should be disabled. Can anyone help me with this. Regards. [/code]

Member Avatar for programmer321
0
144
Member Avatar for programmer321

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 reduced. Regards.

Member Avatar for ssharish2005
0
71