Re: regular expression newline replace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



      Hello Larry,

Larry Howe wrote:


I'm not sure the \n is really "there" once the file has been loaded into
the editor.


If you try my example: [\n\a\r]* you will see that there are the newlines. KDE finds them, but doesn't replace.




And the command to strip out blank lines is

cat infile | awk ' { if ($0) print }' > outfile



Thank you. I use regexp replace for harder tasks. The newlines are only part of them.
I have to use something else for replacing. However I like quanta and hope this will be fixed soon.


      Mage
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux