in reply to Re: One liner: remove ssh keys with quotemetain thread One liner: remove ssh keys with quotemeta
If you insist on this approach, try inserting quotemeta just before sprintf.