Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2000 09:30:02 -0700 (PDT)
From:      "J. 'LoneWolf' Mattsson" <lonewolf@flame.org>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/22027: New port: ccdoc v0.7a
Message-ID:  <200010161630.JAA29228@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/22027; it has been noted by GNATS.

From: "J. 'LoneWolf' Mattsson" <lonewolf@flame.org>
To: Peter Pentchev <roam@orbitel.bg>
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/22027: New port: ccdoc v0.7a
Date: Mon, 16 Oct 2000 18:19:13 +0200

 At 19:02 2000-10-16 +0300, Peter Pentchev wrote:
 >Just an idea - you may avoid inserting the ^M itself by not using sed, but 
 >tr -
 >as in tr -d "\015" < infile > outfile.  Or for in-place editing, there's
 >always perl -pi -e 's/\r//g' filename.
 
 Well thanks!
 I haven't had the time or chance to learn perl yet, and I've never used tr 
 before. Only been using *nix for a couple of years, so my knowledge is not 
 fully comprehensive yet :/
 
 
 >Well, come to think of it, Perl might be a bit of an overkill just for
 >removing \r's in a single file; you can't beat it, though, for things like:
 >
 >   find ${WRKSRC} -type f | xargs perl -pi -e 's/\r//g'
 
 Okay, do you want me to change this in the port, or should I wait until I 
 upgrade it to 0.8 (whenever that one might be released)? It's not a problem 
 for me to change it, so I'll do it if you want me to... Only thing is that 
 mail I send with 'send-pr' gets blocked by MAPS on the freebsd mailhub. 
 Guess I've configured something wrong...
 
 
 >(and usually you can even drop the /g, making processing about 0.05% faster ;)
 
 Hehe, nothing like optizing :)
 
 
 >Just my two cents :)
 
 Much appreciated. I'll go read the man page for tr tomorrow then :)
 
 Cheers,
 /Johny
 
 #-----------------------------------#       .
             Johan Mattsson                  / \__/\
           lonewolf@flame.org              /'     , :
      http://www.flame.org/~lonewolf      ;   ( o   o
     irc.sorcery.net:9000 as LoneWolf     /   ,   ~. \
    Sun Certified Java(tm) 2 Developer   / (  `- ..__"
           Veni. Vidi. Vici.                   '  /'
 #-----------------------------------#
 
 
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010161630.JAA29228>