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

 

начало

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

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

семинари ...

документи

как да ...

 

 

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

Re: lug-bg: win txt to txt


  • Subject: Re: lug-bg: win txt to txt
  • From: bkrosnov@xxxxxxxxx (Boyan Krosnov)
  • Date: Thu, 14 Sep 2000 00:42:02 +0300



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
poprawete me ako gresha neshto

ys zdrawe,
Boyan

Dimitar Stoikov wrote:
> 
> On Tue, Sep 12, 2000 at 07:47:18PM +0200, ISM Kolemanov, Ivan wrote:
> > zdravejte pak,
> >
> > nqkoj moze li da me svetne kak da konvertiram windowski txt fail do unix txt
> > file
> > pod unix
> 
> ---b
> #!/usr/bin/perl -i
> 
> while (<>) {
>         tr/\r//d;
>         print;
> }
> ---e
> 
> usage: this.perl.executable /path/to/your.txt
> 
> [tacho, nishto ne kazvai.]
> 
> -- \n ds@xxxxxxxxxxxx | 0xDF584A67
> ==================================================================
> 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
==================================================================
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.