Kommentare entfernen
Anwendungsbeispiel:
# confcat /etc/make.conf
per Skript
| File: nano -w /usr/local/bin/confcat
|
sed -e 's/#.*//;/^\s*$/d' "$@"
|
Rechte setzen:
# chmod 755 /usr/local/bin/confcat
per Alias
| File: nano -w /etc/profile
|
alias confcat="sed -e 's/#.*//;/^\s*$/d' "$@""
|