Member since 08/05/2010

2 snippets

996 profile views

1 Comment(s) Posted

View their favorites

their Tags



first submission:submitting first snipplet

bubnoff's Recent Snippets

« Prev 1 Next »
Here's a quick one-off trick for sed editing conf files on remote hosts. I will post the core sed command first, showing the crazy quoting, then a for loop demonstrating how one might tackle multiple hosts. Took me a few tries to get the quoting so...
0 476 posted 12 years ago by bubnoff
For use in bash script. First two lines are an example of usage. This is one of several solutions to this problem. Works well for cleaning database output. Takes a regex and two files as arguments - first one is raw db output - second is merged outpu...
1 809 posted 13 years ago by bubnoff
« Prev 1 Next »