script-linux/nocomment

5 lines
55 B
Bash
Executable File

#!/bin/bash
sed "/\/\//d" $1 |\
sed "/\/\*/,/\*\/$/d"