Hi Robin, Am Donnerstag, den 14.01.2010, 17:40 +0000 schrieb Robin Bowes:
> Hmm, that should work. > > I created a file named "test" containing: > > ssh-rsa AAAAB3NzaC1yc2EAA/5GytXDjAR3XoxTR6uM= test...@test > asdasdasd > asdasdasd > > I then ran this (all on one line): > > perl -ni -e 'print unless m{^\Qssh-rsa > AAAAB3NzaC1yc2EAA/5GytXDjAR3XoxTR6uM= test...@test\e}' test > > This strips the ssh-rsa line from the file, as expected. Yes, taht works. But unfortunately this is not on a single line. The parser puts an newline right after the test...@test and this will make this statement fail. Greetz, Andre
-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.