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

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -