in reply to Re^2: Copy terminal lines-unix
in thread Copy terminal lines-unix

If you need to escape the dollar sign to prevent its expansion by the shell, use a backslash:
./SaveCMD "ls | perl -lne 'print \$_ if /-/'"
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ