Date: Fri, 14 Jun 2002 20:25:47 +0300 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Juli Mallett <jmallett@FreeBSD.org> Cc: Akinori MUSHA <knu@iDaemons.org>, Trevor Johnson <trevor@jpj.net>, Mikhail Teterin <mi+mx@aldan.algebra.com>, Pete Fritchman <petef@absolutbsd.org>, portmgr@freebsd.org, cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: ports/Mk bsd.port.mk Message-ID: <3D0A271B.88E448C4@FreeBSD.org> References: <200206141102.50292.mi%2Bmx@aldan.algebra.com> <20020614113752.K11520-100000@blues.jpj.net> <86k7p16c4q.wl@archon.local.idaemons.org> <20020614101409.A88549@FreeBSD.ORG>
next in thread | previous in thread | raw e-mail | index | archive | help
Juli Mallett wrote: > > * Akinori MUSHA <knu@iDaemons.org> escriuróres > > At Fri, 14 Jun 2002 11:49:51 -0400 (EDT), > > Trevor Johnson wrote: > > > Mikhail Teterin wrote: > > > > > > > But the macro could be implemented without using the -i option -- > > > > mktemp(1) is with us since FreeBSD-2.2.7... > > > > > > That sounds like the best idea. I don't know how to write such a macro > > > though. Would you mind writing it? > > > > How about writing inplace(1) instead? It should be generally useful > > because you can use any filter command such as sed(1), awk(1), > > grep(1), sort(1), uniq(1), and so on with it. The name and the > > sinopsis would be a matter of controversy, though. > > sed 's/foo/bar/;s/blah/bleh/' file | tee file > /dev/null What if there are several files? -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D0A271B.88E448C4>