Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Dec 1996 15:44:37 -0800 (PST)
From:      asami@cs.berkeley.edu (Satoshi Asami)
To:        fenner@parc.xerox.com
Cc:        fenner@parc.xerox.com, msmith@atrad.adelaide.edu.au, ports@freebsd.org
Subject:   Re: Ports tidy-up sweep
Message-ID:  <199612182344.PAA03800@vader.cs.berkeley.edu>
In-Reply-To: <96Dec18.085846pst.177712@crevenia.parc.xerox.com> (message from Bill Fenner on Wed, 18 Dec 1996 08:58:37 PST)

next in thread | previous in thread | raw e-mail | index | archive | help
 * >Unfortunately, this doesn't work, as we now have "/" in the file path
 * >substituted there.
 * 
 * Oh, I was just copying Mike's grep suggestion.  My suggestion is really
 * just to get rid of the grep; if you're happy with "grep $$file" then
 * awk "/$$file/" is just as good.

What I tried to say is that the "$$file" part may be substituted with
something with a "/" in it, in which case awk will get confused, but
grep won't (/ is not a special character to grep).

Try it on (say) ports/print/xdvi, and you'll see what I mean.

Satoshi



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