in reply to Re: One liner: remove ssh keys with quotemeta
in thread One liner: remove ssh keys with quotemeta
exec { "/bin/sed -i -e '\\%${line}%d' '${file}'" : ... }
That would still suffer from the same problem as perl - the default shell. See Re^2: One liner: remove ssh keys with quotemeta.
Alexander
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: One liner: remove ssh keys with quotemeta
by jcb (Parson) on Nov 29, 2019 at 17:25 UTC | |
by afoken (Chancellor) on Nov 29, 2019 at 19:36 UTC |