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: <%-{-{-{-<
In reply to Re^2: replace string from Command Line (updated)
by AnomalousMonk
in thread replace string from Command Line
by pragovnj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |