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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -