Date: Thu, 18 Nov 1999 17:55:07 -0500 From: "Johnson, Bob" <BJohnson@gainesville.usda.ufl.edu> To: "'questions@freebsd.org'" <questions@freebsd.org> Cc: "'rover@lglobus.ru'" <rover@lglobus.ru> Subject: Re: Is there correct way for program to read from itself? Message-ID: <c=US%a=_%p=USDA%l=USDANT2-991118225507Z-6042@gainesville.usda.ufl.edu>
next in thread | raw e-mail | index | archive | help
Maybe it's time to ask: What programming language are you using? On Thu, 18 Nov 1999 23:28:46 +0300 Oleg V. Volkov wrote: >On Thu, Nov 18, 1999 at 03:23:24PM -0500, Greg Lehey wrote: >> >>> Is there correct way for porgram to read from it's own file? >> >> I'm not sure I understand. What do you mean by "it's own file"? >> >> If you mean the object file, sure. Where's the problem? >> > I mean this situation: >> > I have some program /usr/local/bin/someprog. Is there a way for it >> > to read from itself (from /usr/local/bin/someprog). >> Sure, that's what I said. What do you expect to find? > >Could you give me short example? Bob Johnson Local Network Administrator USDA - ARS - CMAVE Gainesville, Florida 352-374-5856 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c=US%a=_%p=USDA%l=USDANT2-991118225507Z-6042>
