Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: One liner: remove ssh keys with quotemeta

by afoken (Canon)
on Nov 29, 2019 at 19:36 UTC ( #11109447=note: print w/replies, xml ) Need Help??


in reply to Re^3: One liner: remove ssh keys with quotemeta
in thread One liner: remove ssh keys with quotemeta

A better answer would probably be to write the update routines entirely in Ruby instead of calling out to other programs

You are right. A simple read-modify-write shouldn't be that hard in Ruby, making it atomar atomic by writing to a new file followed by a rename shouldn't be hard, either.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re^4: One liner: remove ssh keys with quotemeta

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11109447]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2020-05-25 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (143 votes). Check out past polls.

    Notices?