Search Results

Search: Posts Made By: jazz
Forum: Programming 11-13-2006
5,980
Posted By jazz
Thanku All
Thanku All
Forum: Programming 11-13-2006
5,980
Posted By jazz
It is not working :(
It is not working :(
Forum: Programming 11-13-2006
5,980
Posted By jazz
Removing empty spaces and adding commas
I have a file which contains numbers as follows:

1234 9876 6789 5677 3452
9087 4562 1367 2678 7891

I need to remove the empty spaces and add commas between the numbers like:
...
Forum: Programming 10-20-2006
3,170
Posted By jazz
Thankx a lot!!
Thankx a lot!!
Forum: Programming 10-20-2006
3,170
Posted By jazz
dividing a file into two
Hi ..
I have a file which contains a list of numbers like..

1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2027,...
3,283
Posted By jazz
Thank You ALL
Thank You ALL
3,283
Posted By jazz
grepping a part of filenames
Hi ,

I have a list of files in a directory and filename format is as follows:
PQ223390
PQ876912
PQ768901
PQ398140 and so on

I want to grep the first four digits of all the files after PQ,...
Forum: Programming 05-22-2006
2,062
Posted By jazz
please check now
please check now
Forum: Programming 05-22-2006
2,062
Posted By jazz
help in explaing the program
Hi,

Can anybody help me in explaining what the attached program does???

Thankx a lot for the help!!!
Forum: Programming 03-22-2006
2,946
Posted By jazz
Programming using Structures
Hi All,

I was given a format of a file, and was asked to write a program which displays the data contained in the file in that purticular format.

Its all so confusing.
Please find the example...
Forum: Programming 03-13-2006
5,280
Posted By jazz
Thank u so much for the reply.
Thank u so much for the reply.
Forum: Programming 03-10-2006
5,280
Posted By jazz
adding variables for, for loop
I have a structure which contains n number of elements. For example:
stFruits : apple, grapes, strawberry, pear, kiwi, melon, papaya, mango, orange, sweetlime ..... etc

Now i have to write a for...
Forum: Programming 12-02-2005
6,038
Posted By jazz
yes.. i did.. and i got the solution.....
yes.. i did.. and i got the solution.. thankx....is there any other command apart from diff???
Forum: Programming 12-02-2005
6,038
Posted By jazz
Difference between files
Hello,

I have two programs abc/pqr/test and abc/xyz/test in two different directories. These programs are almost same but with two or three differences in code... Now i would like to know the...
Forum: Programming 11-24-2005
36,975
Posted By jazz
deleting files on particular date
Hello,

In unix what is the command to delete files created on a particular date.
for example: I have a list of files in a directory
Nov 8 08:30 abc
Nov 8 17:00 xyz
Nov 9 12:30 test
Nov 9...
Forum: Programming 11-17-2005
7,395
Posted By jazz
Vi editor
What are the commands to go to the beggining of file and end of file in VI editor
Forum: Programming 11-16-2005
3,029
Posted By jazz
thanku... got the solution
thanku... got the solution
Forum: Programming 11-16-2005
3,029
Posted By jazz
to find a file in set of directories
Hi,

what is the command in unix to find a file abc.c in a directory which had n number of sub-directories.

thanx
Forum: Programming 11-10-2005
4,307
Posted By jazz
Thanks a lot!!!
Thanks a lot!!!
Forum: Programming 11-10-2005
4,307
Posted By jazz
copying or concatinating string from 1st bit, leaving 0th bit
Hello,

If i have 2 strings str1 and str2, i would like to copy/concatenate str2 to str1, from 1st bit leaving the 0th bit.

How do i do it?
Forum: Programming 11-10-2005
2,191
Posted By jazz
removing first bit from the word
Hello,

I have a code like this :

pstSimPOIInfo[uiI].ppcName[ucCount] = realloc(pstSimPOIInfo[uiI].ppcName[ucCount], (usLen+strlen(CountryName)+4));
memset(pstSimPOIInfo[uiI].ppcName[ucCount],...
Forum: Programming 10-28-2005
6,556
Posted By jazz
How to free the memory?
For example if i have the piece of code as follows:

CountryName = (char *)malloc((strlen(CountryName)+1)*sizeof(char));
memset(CountryName, 0, strlen(CountryName)+1);
...
Forum: Programming 10-26-2005
2,123
Posted By jazz
Thank u. I got the solution. :)
Thank u. I got the solution. :)
Forum: Programming 10-26-2005
2,123
Posted By jazz
Thankx for the reply! As u have said the...
Thankx for the reply!
As u have said the function is in another file called admin.c, but everything is included in Make file.....
:confused: is the statement i have written correct....
does...
Forum: Programming 10-26-2005
2,123
Posted By jazz
Problem with function which reutrns pointer to a value
i have a function:
char *pcCityIdToCountryName(ADMIN_DB_DATA *pstHEader, unit uiCityID)

this returns a pointer to CountryName if cityId is given.
to retrieve countryname i give:

char...
Showing results 1 to 25 of 25

 
All times are GMT -4. The time now is 03:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy