Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Nov 2002 11:32:10 +1100
From:      Edwin Groothuis <edwin@mavetju.org>
To:        ports@freebsd.org
Subject:   funny REINPLACE_CMD failure for \r
Message-ID:  <20021105003210.GA92795@k7.mavetju>

next in thread | raw e-mail | index | archive | help
Greetings,

It seems that REINPLACE_CMD doesn't know how to handle \r's in the
expression, "-e 's!\r!!'" fails all the time for me (no matter how
much \'s I add to it :-). Right now I just replace these by
    "${TR} -d '\015' < file > file.new; {$MV} file.new file"
but I was wondering if somebody has a better solution for it.

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.MavEtJu.org
edwin@mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php 
bash$ :(){ :|:&};:   | Interested in MUDs? http://www.FatalDimensions.org/

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?20021105003210.GA92795>