script-linux/nocomment

6 lines
72 B
Plaintext
Raw Normal View History

2023-10-18 14:49:56 +02:00
#!/bin/bash
sed "/^\/\//d" $1 |\
sed "/^#/d" |\
sed "/^\/\*/,/\*\/$/d"