LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] silly shell thing

[ILUG] silly shell thing

Guest, Ken kengu at credo.ie
Wed May 24 11:33:48 IST 2000


have you tried using vi?
:%s/^M//g

The ^M is entered as ctrl-V folled by "enter"

#-----Original Message-----
#From: John P. Looney (Kate) [mailto:jplooney-ilug at online.ie]
#Sent: Wednesday, May 24, 2000 11:25
#To: Irish LUG list
#Subject: [ILUG] silly shell thing
#
#
# I've a file that for some reason a windows editor has put in double
#newlines everywhere.
#
# Anyone got a good way of getting rid of them ? I tryed:
#
#    cat file | tr -s \\n
#
# and
#
#    cat file | sed -e 's/\n\n/\n'
#
# But neither did the trick...
#
#Kate
#
#-- 
#"The fool must be beaten with a stick, for an intelligent person 
#the merest hint is sufficient"                -- Zen Master Greg
#
#-- 
#Irish Linux Users' Group: ilug at linux.ie
#http://www.linux.ie/mailman/listinfo/ilug for (un)subscription 
#information.
#List maintainer: listmaster at linux.ie
#




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell