The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 10-01-2004
Registered User
 

Join Date: Sep 2004
Location: Down Under
Posts: 11
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
Reply With Quote
Forum Sponsor
  #2  
Old 10-01-2004
Registered User
 

Join Date: Aug 2004
Posts: 232
You may be able to get something out of the program by using the strings command.

useage:
strings <filename>
Reply With Quote
  #3  
Old 10-07-2004
mbb mbb is offline
Registered User
 

Join Date: Aug 2001
Location: UK
Posts: 103
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
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 06:27 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0