Today i was facing some problem while viewing UNIX files on my system using NotePad ++. There were some unwanted characters in the file that were causing pain to read the file.
These are the steps how to remove those unwanted characters from the UNIX file in NPP++.
Step 1: Select the unwanted character by placing cursor right before the character and press shift+ right arrow key once.
Step 2: After selecting the character it will look like the above screen. Now you need to replace it with space ‘ ‘ character. Following screen will clear your understanding:
Step 3: Change the value in Replace with text field with ‘ ‘ single space character:
Step 4: Now just click the Replace All button and here you go smooth and clean text to read:
Thanks for reading it. I will paste some more easy to understand tricks on my site.
- Need to add logic in Unix script convert from Windows to Unix format (stackoverflow.com)