Posts

Showing posts from November 24, 2018

How can I delete all characters falling under /* … */ including /* & */?

Image
up vote 12 down vote favorite 2 I did tried sed and awk, but its not working as the character involves "/" which is already there in command as delimiter. Please let me know how can I achieve this. Below is a sample Example.We want to remove the commented sections i.e /*.....*/ /*This is to print the output data*/ proc print data=sashelp.cars; run; /*Creating dataset*/ data abc; set xyz; run; text-processing share | improve this question edited Jul 21 '16 at 11:07 don_crissti 48.8k 15 129 157 asked Jul 21 '16 at