Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: win txt to txt


  • Subject: Re: lug-bg: win txt to txt
  • From: zimage@xxxxxxxxx (Theodor Milkov)
  • Date: Thu, 14 Sep 2000 01:12:41 +0300



Boyan Krosnov wrote:
> 
> hi na wsichki wi,
> 
> ako trqbwa da sme perfekcionisti :) mojesh da slojish oshte 2 opcii na
> perl-a i da
> prewyrnesh programcheto w ednoredowka :)
> 
> ------>8 snip
> #!/usr/bin/perl -n -p -i
> s/\r//g;
> ------>8 snip

As weel as sed's:

cat win.txt |sed "s/^M$//g" > unix.txt

Vav bash ili tcsh ^M e Ctrl-V -> Ctrl-M

;-)
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.