Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
I think this should be relatively easy for the sed/awk experts here.
I have a text file that contains the names of several hundred classes that a project I am working contains. The contents look like so:
The original source fileswere created in windows, but have been processed by many perl/bash script to yield the finaltext file above. Perhaps some of the crazy windows got carried throught the text processing.
I ran the conversion you suggested and now the original sed command appears to give me the desired result.