in reply to Re: replace string from Command Line
in thread replace string from Command Line
Interpolation control escapes (if that's the proper terminology) \Q \E to the rescue:s/CAST(CAST(hs_date ...) AS CHAR(08)) as .../... whatever .../g... backquoting all of those from a shell prompt is going to get ugly.
Update: See Quote and Quote-like Operators (buried in the middle of the section) in perlop for a discussion of \l \u \L \U \F \Q \E escapes.
Give a man a fish: <%-{-{-{-<
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: replace string from Command Line (updated)
by pragovnj (Acolyte) on Oct 13, 2020 at 20:26 UTC | |
by AnomalousMonk (Archbishop) on Oct 13, 2020 at 21:30 UTC | |
|
Re^3: replace string from Command Line (updated)
by pragovnj (Acolyte) on Oct 13, 2020 at 19:48 UTC | |
by AnomalousMonk (Archbishop) on Oct 13, 2020 at 20:03 UTC |