Usage of $() in Porter's Handbook
Chris Rees
utisoft at gmail.com
Tue Apr 26 13:29:36 UTC 2011
Hi all,
This is somewhat the inverse of what happened in [1] --please let's
not repeat it all.
In the chapter on automated creation of pkg-plist [2] substitution is
performed using the sh-ism $() -- something I as a tcsh user find very
frustrating when copy/pasting the commands -- bear in mind that the
default root shell is /bin/csh [3].
The patch at [4] changes the $(make -V PORTNAME) etc to more
compatible `make -V PORTNAME`.
If any clarification on backticks is needed in the text I'll be happy to oblige.
Any complaints?
Chris
[1] http://lists.freebsd.org/pipermail/freebsd-ports/2010-July/062574.html
[2] http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/plist-autoplist.html
[3] http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/master.passwd?rev=1.40.22.2;content-type=text%2Fplain
[4] http://www.bayofrum.net/~crees/patches/porters-plist-automated.diff
More information about the freebsd-doc
mailing list