-1

Is it possible to remove all lines starting with // from a txt file?

D-T
  • 506

1 Answers1

0

I used the command sed

sed -re '/^\s*\/\//d' myfile.txt > my_new_file.txt  
D-T
  • 506