1 comment

[ 3.3 ms ] story [ 13.9 ms ] thread
What's wrong with the following (for Rust/C++)?

   sed -n 's/.*\/\///p' comcat.rs       # for displaying comments
   sed 's/\/\/.*//' comcat.rs           # for displaying source