Thanks. It worked for me. I really appreciate your efforts and heartly thankful to you for solving my problem and also to thescripts.com forums. It really works!!!!
One question I would like to ask is the mechanism behind this. I know the find command but I am tring to under stand this whole command.
Regards,
Raj Kumar Arora...
User Profile
Collapse
-
The first option is working only if we provide source and target filename both. I tried it as you said but with single argument that didnt worked. Also the second option is never terminating....Leave a comment:
-
Thanks a lot.The option dos2unix is working but its suitable for only some of the files or only few files as for it the source file name and target file name should be different. So I tried to firstly cp/mv all file like this mv *.cc *.cc.old
or cp *.cc *.cc.old
which failed because the cp or mv command failed for * wildcard. I cant manually change for each file as I am having a bunch of files.
Any...Leave a comment:
-
strange problem regarding zip/unzip from window to solaris machine
Hi ,
I faced a very strange problem when I unzip a zip file on my solaris workstation. Actually I wanted to transfer a folder, say it TEST which contains some sub-folders inside it from windows to solaris machine. So I zipped this folder to TEST.ZIP on my windows machine.
Then from my windows machine, I started ftp from command prompt and connected to my solaris machine and I copied this TEST.ZIP folder using put command... -
The problem in the above code is only due to two functions with same name. Just remove the empty function body of power() to make it working.
Regards,
Raj Kumar AroraLeave a comment:
-
Hi ,
I researched on your Calculate program. The program is having a few errors. Please have a look at the following points:-
1. A break statement is necessary before case 5. i.e., just after the nested switch finishes.
2. There is no means to exit the program. I mean you need to assign/choose some specific values of variables choice and chicee also which would exit from the code.
3. You have declared...Leave a comment:
-
_______________ _______________ _______________
Hi,
There is nothing much to do in making this programming running. Here is the running version of the program:
If there's nothing to it, please give an algorithm, not the answer. We try not to spoonfeed here.
Regards,
Raj Kumar Arora...Leave a comment:
-
-----------------------------------------
Hi George,
Following are certain points in your code which are not correct.
1. The write() call is not proper.
2. In case of pipes(), there is not automatic synchronisation between the processes communicating. So its the reasponsibility of programmer for maintaing the proper synchronisation between the processes.
If you have any more questions then feel free...Leave a comment:
-
alternatives exec() system function
Hi ,
Is there anybody who have any idea of any System Function in C/C++ for Sun-Solaris (unix) platform which can serve the alternative of execl() system function.
Actually I am calling a fork-execl() pair and then making an interprocess communication between these two(parent-child process). But the problem is that somewhere in exec() function which is working on some machines and failing on a few machines.
... -
Hi jonasclown,
For the purpose, you can use wait() or waitpid() function.
If you could not get it on then Either try posting with your trial code so that I will be in a better positon to help you or ask me and I will do the same.
Regards,
Raj Kumar Arora...Leave a comment:
-
-------------------------------------------
Hi cavemandave,
I have also worked on Shared Memory. I diagonised the following problems in your code :-
1. shmat() returns a pointer to void. So variable "shm" must be of type void pointer. But you declared it as char*.
2. When a new segment is created, the contents of the segment are initialized with zeros. (relate this point to point 3).
3. The...Leave a comment:
-
Hi weaknessforcats ,
May be u havent used it since 1975. But for your information, I have worked on Microcontroller s and Embedded Systmes. And during that my experience in 2004-2006, I used this mean of communication for establishing Serial communication between Microcontroller 8051 and PC's com port.
So I am sure that it is still in use in market.RS422 and RS485 are the similar terms used in conjuction with this RS232....Leave a comment:
-
Hi zavid,
For your query I searched on and find the following link somewhat helpful to you. It is :
http://hydraulicslab.ucsd.edu/RS232/rs232.htm
I started my learning on RS232 in a book for 8051microcontro ller by author majidi and majidi. It introduces about RS232 fundaments but not abt the types.
Regards,
Raj Kr Arora...Leave a comment:
-
I dont think that C++ code will be faster than C code. Instead C code is faster than C++ code. Just see the earlier machine/assembly programs are much faster because that contains the statements which directly interfaced with OS system calls. So on same basis, I am saying that.
Regards,
Raj Kr AroraLeave a comment:
-
-
Hi,
Could you please describe some details of the problem. I think only then it will be better reply.
Regards,
Raj Kumar Arora...Leave a comment:
-
-------------------------
Hi Kishor,
In order to have a starting on shell programming, you can try it with following link:
http://gd.tuwien.ac.at/linuxcommand.or g/wss0010.html
It will gives you enough confidance for writing your own scripts too.Once you get it on then for details of shell script programming you can try the following link:-
http://www.esscc.uq.ed u.au/~ksteube/Bshell/
...Leave a comment:
-
Hi Shiv,
I can help you. But for that please describe your problem in some detail.
Regards,
Raj Kumar AroraLeave a comment:
-
Hi ,
To have a better understanding try the following link. There is really good stuff.
http://www.gamedev.net/reference/articles/article1798.asp
If you need some more examples then let me know, I also once puzzeled and so made a few programs which made my confusion clear.
Regards,
Raj Kumar AroraLeave a comment:
-
Hi ,
In order to have a starting on shell programming, you can try it with following link:
http://gd.tuwien.ac.at/linuxcommand.or g/wss0010.html
Once you get it on then for details of shell you can try the following link:-
http://www.esscc.uq.ed u.au/~ksteube/Bshell/
Hope that gives you some fruitful results,
Regards,
Raj Kumar AroraLeave a comment:
No activity results to display
Show More
Leave a comment: