Date: Tue, 26 Apr 2011 14:28:57 +0100 From: Chris Rees <utisoft@gmail.com> To: doc@freebsd.org Subject: Usage of $() in Porter's Handbook Message-ID: <BANLkTinduiH4YwAmhspb6YoKiopS1Nz0Sw@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTinduiH4YwAmhspb6YoKiopS1Nz0Sw>