help with search and replace
hi guys...
i have multiple php files with some comments. i want to remove the comment automatically using grep or find or some other built in linux command. the comment is like this
* this is an example of a line
how can i use the command line to automatically find the above line with starts with * and remove the entire line automatically? i know what the exact line to remove is, so please help me with the command i need to type. please take note that the starting character starts with a blank space and then the aterick character followed by the line to be removed
please help me guys... im lost