Date: Mon, 15 Jan 2007 18:12:48 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-questions@FreeBSD.ORG, kline@tao.thought.org Subject: Re: perl substitution question Message-ID: <200701151712.l0FHCmEL085537@lurza.secnetix.de> In-Reply-To: <20070114214410.GB24039@thought.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Gary Kline wrote: > Giorgos Keramidas wrote: > > Watch out for shells with funny 'expansion rules', like csh(1) :) > > [...] > > Man! truer words, (&c)... . One o the very few suggestions > left for improving shells [ and/or subshells ] is a flag, > say '-N' which would have *nothing* to be escaped. In other > words a '$' or '"' would be interpreted literally. Everything between single quotes (') is taken literally and does not need to be escaped. Except for the single quote character itself, obviously, but that's not a big deal anyway. Best regards Oliver PS: I'm talking about standard bourne shell, of course (a.k.a. /bin/sh, zsh, ksh or bash). I recommend against using csh or tcsh. -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "If you aim the gun at your foot and pull the trigger, it's UNIX's job to ensure reliable delivery of the bullet to where you aimed the gun (in this case, Mr. Foot)." -- Terry Lambert, FreeBSD-hackers mailing list.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200701151712.l0FHCmEL085537>