Hi guys, Well, great news on the coding front. I have finished my first linux app. The command "quote" now outputs a random line from the text file "/etc/quotes". I am using this for my KMail signature so be sure to take a look down the bottom, it will be randomly selected each time an e-mail is sent.
As you can see, I have put the quote file in /etc and I have put the binary in /bin. Is there any reason why I shouldn't do this? I have hardcoded the path to the quote file as /etc/quotes as I can't think of any better way to do it. Also, how do I go about distributing my program? I think an RPM is *way* over the top and there is only one source file so a configure script is also not very necessary. Future releases plan to include command line arguments for adding quotes to your quotes file, also arguments determining the format in which the quote is returned. Any feedback/interest is appreciated, Daniel PS. I hope to have an ISP hosted website up soon, so I wil keep you posted on that. -- "The great thing about Object Oriented code is that it can make small, simple problems look like large, complex ones." -Anon
