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

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

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

c# - Search and Add Comment with OpenXML for Word -