![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| small problem | yosef_yaniv | UNIX for Dummies Questions & Answers | 2 | 11-28-2007 10:42 PM |
| Small Problem with SCO | rabih_saleh | SCO | 2 | 12-11-2006 06:05 AM |
| Small problem... | Green_Monkey23 | IP Networking | 1 | 10-04-2006 12:27 AM |
| Small UNIX problem | nbvcxzdz | Shell Programming and Scripting | 1 | 03-18-2005 11:43 PM |
| small date problem | hcclnoodles | Shell Programming and Scripting | 3 | 01-17-2005 02:16 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
a small problem
hey there
i kinda have a small/big problem. i have created a 'small' version of a shell that only accepts ls comamnds. my problem is that when i compiled the program and got it to work, i deleted the .c file from which the shell was created. but now, i would like to do some more work on the shell but stupidly enough dont have the .c file. so is there a way that i could somehow get the .c file from the shell program. if anyone could help, i would appreciate it very much cheers mile1982
__________________
mile.c |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
You may be able to get something out of the program by using the strings command.
useage: strings <filename> |
|
#3
|
|||
|
|||
|
And now you understand why it is critical to make backups and use source control e.g. RCS, SCCS or CVS in Unix.
__________________
Senior Analyst/Programmer |
|||
| Google The UNIX and Linux Forums |