Substituting some characters in a text file (shell script).
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.
I am beginning to see the complexities involved in the solution to this problem. So, and begging your pardon to all of you, dear LQers, I think I'll write a nice little program in C, language which, as this thread has shown me, is simpler than the bash script language. And yet,its manuals can fill libraries. My regards to all who have collaborated in this thread.
Well as the OP it is of course always your choice on the direction you take, but I am curious as to what you have found
complex about any of the solutions? If none are meeting your requirements we are happy to see more examples to try and
assist
... I think I'll write a nice little program in C, language which, as this thread has shown me, is simpler than the bash script language. And yet,its manuals can fill libraries.
The C language itself is elegantly small and simple. It is the libraries developed for it that are huge and complex so need libraries of documentation.
The truth is I want to have a program I understand and can therefore modify at will. In this respect, maybe some of you shall want to see this thread. Once again, I express my admiration for your labor in this forum.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.