[MacPorts] #27310: Feature request: -u option to reinplace, to facilitate \[0-9] copy into replacement
MacPorts
noreply at macports.org
Sun Nov 14 05:16:03 PST 2010
#27310: Feature request: -u option to reinplace, to facilitate \[0-9] copy into
replacement
---------------------------------------------+------------------------------
Reporter: james.from.wellington@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version: 1.9.2
Keywords: haspatch | Port:
---------------------------------------------+------------------------------
Comment(by jmr@…):
Replying to [comment:1 ryandesign@…]:
> Can't this already be accomplished without changing base by just
doubling the backslashes before the numbers? I'm sure we already do this
in tons of ports.
Yes. This isn't peculiar to reinplace either, you have to do the same
thing when constructing a string to be run as a shell command for example.
If you want a literal string, use braces. If you want some but not all of
the normal substitutions, call subst(n) on your literal string with
appropriate options.
--
Ticket URL: <https://trac.macports.org/ticket/27310#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list