Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Thank you so much. I made 'slocate -i html2' and got no results, but I didn't make a complete installation. Your script ends up doing same thing as bathory's command but, not only is it very didactic but also more powerful. So, I'd
very much like to have a means of running it line by line (debugging). Is that possible? Regards.
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,521
Rep:
There's a gizillion java jar files for stripping formatting out of html, and leaving the text. Seriously, html is text, albeit not plain English prose. It's the web browser that puts the spin on html. And I agree, when I want stripped out html, I use search and replace in a text editor. That leaves the text part roughly the way it was.
Very helpful of you. Now, having solved the HTML conversion problem, I'm now interested in script writing itself. And taking knudfl's script as a starting point, I would like to study it. For that purpose, being able to debug it would be great fun.
There's many tutorials around there. Also, the shell man page, which is huge. And I'm a little lazy or rather impatient. So, beginning some point at the middle, is what I
aim at. And the question? How to debug a script. Oh, yes. I know little more than nothing about shell scripts.
Regards.
Last edited by stf92; 05-25-2009 at 06:21 PM.
Reason: courtesy
I learned mostly from 'Sams teach yourself shell programming in 24 hours', I don't really know too much about its status (free or otherwise), but I got it for free online.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.