6 lines
160 B
Bash
Executable File
6 lines
160 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# This script requires a file as argument in which it will remove all comment lines that start with a hash '#'
|
|
|
|
sed '/^\s*\#[^!].*/d; /^\s*\#$/d' $1
|