From: Murat SULUHAN (murat.suluhan@tesam.com.tr)
Date: Fri 01 Jun 2001 - 09:13:01 EEST
Merhabalar
Removing ^M from your files
Doesnt it just drive you nuts to edit a file in
Windows 95 or Windows 98, and
have a ^M at the end of each line ? Well with the
following information, we
can remove that.
Do the following :
'perl -i.bak -npe 's/\r\n/\n/g' <file>'
Notes :
where <file> is the name of the file you want to
"clean".
The original file is copied to <file>.bak...
insallah isine yarar
->-----Original Message-----
->From: linux-bounce@linux.org.tr
->[mailto:linux-bounce@linux.org.tr]On Behalf Of Alper Oguz
->Sent: Thursday, May 31, 2001 6:08 PM
->To: linux@linux.org.tr
->Subject: [Linux] tofromdos
->
->
->
->Merhaba
->
->Boyle bir util vardi text dosyalardaki satir sonu karakterlerini dos'a
->donusturmek icin. Bu vb yazilislarla freshmeat ya da filewatcher'da
->bulamadim. Tam yazilisi nasildi?
->
->
->--
-> Alper Oguz alperliste@showtv.com.tr
->
->
->-----------------------------------------------------------------------
->Liste üyeliğiniz ile ilgili her türlü işlem için
->http://liste.linux.org.tr adresindeki web arayüzünü kullanabilirsiniz.
->
->Listeden çıkmak için: 'linux-request@linux.org.tr' adresine,
->"Konu" kısmında "unsubscribe" yazan bir e-posta gönderiniz.
->-----------------------------------------------------------------------
->
->
-----------------------------------------------------------------------
Liste üyeliğiniz ile ilgili her türlü işlem için
http://liste.linux.org.tr adresindeki web arayüzünü kullanabilirsiniz.
Listeden çıkmak için: 'linux-request@linux.org.tr' adresine,
"Konu" kısmında "unsubscribe" yazan bir e-posta gönderiniz.
-----------------------------------------------------------------------