ubuntu 12.04 - Removing first defined function in bashrc -


i have file containing:

... function myfunction(){                             content     } ... function myfunction(){                             content2     } ... 

how can automatically remove first occurrence of myfunction every such duplica function?


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -