Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2002 17:40:18 -0800
From:      Adam Weinberger <adamw@FreeBSD.ORG>
To:        Edwin Groothuis <edwin@mavetju.org>
Cc:        ports@FreeBSD.ORG
Subject:   Re: funny REINPLACE_CMD failure for \r
Message-ID:  <20021105014018.GB197@vectors.cx>
In-Reply-To: <20021105013354.GA197@vectors.cx>
References:  <20021105003210.GA92795@k7.mavetju> <20021105013354.GA197@vectors.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> (11.04.2002 @ 1733 PST): Adam Weinberger said, in 0.9K: <<
> >> (11.04.2002 @ 1632 PST): Edwin Groothuis said, in 0.7K: <<
> > 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
> >> end of "funny REINPLACE_CMD failure for \r" from Edwin Groothuis <<
> 
> Does ^V^M not work?
>> end of "Re: funny REINPLACE_CMD failure for \r" from Adam Weinberger <<

That being said, I still think that fconv should be a part of base. It's
a great, tiny program that works wonders when you need it to. It's right
now installed as 4 separate binaries, for some reason, but {c,sh}ould be
one 6K program and a couple hard links.

- -Adam


- --
Adam Weinberger
adam@vectors.cx
adamw@FreeBSD.ORG

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE9xyGCo8KM2ULHQ/0RAsdjAJ49/U+5mlOqPBEmjgmUg/TUC/ADogCfRhja
DJMU6aA6FgBJU9+ns79QNVo=
=kBpI
-----END PGP SIGNATURE-----

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?20021105014018.GB197>