script-linux/nocomment

6 lines
72 B
Bash
Executable File

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