ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
thnx catkin & nugat:
that was really a path making group steps.
but if in case we try to put the same set of values written in file & put it back at the end.
then inserting values for new entries.
can you please suggest set of ways..
it kind of "NO SELF WRITING" on the file
thnx catkin & nugat:
that was really a path making group steps.
but if in case we try to put the same set of values written in file & put it back at the end.
then inserting values for new entries.
can you please suggest set of ways..
it kind of "NO SELF WRITING" on the file
sorry, i didn't get this. can you explain it more, and use examples of what you have and what you want?
You've used the phrases 'i want to add values', 'create another title' & 'inserting values for new entries'. No where have you said where the script/program is supposed to get the new data. As this is somewhat central to the overall problem, it makes sense to describe how your data is to be acquired. It could come from many places, such as being read from a file, be embedded in the script/program, read from a commandline, read from standard input, read from a network connection of some sort, read from environment variables... The list is long. Sample data would be a very good thing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.