apache
Generate hosts from VHosts:
grep -h -e "^<Virtual" -e ServerName * \ | sed -e "s/^.*ServerN printf "%s", $0 ; next }Host\ //g" \ | awk '/:80>/ { {print}' \ | sed -e "s/:80>/\t/g" \ | sort {/syntax}
Generate hosts from VHosts:
grep -h -e "^<Virtual" -e ServerName * \
| sed -e "s/^.*ServerN printf "%s", $0 ; next }Host\ //g" \
| awk '/:80>/ { {print}' \
| sed -e "s/:80>/\t/g" \
| sort {/syntax}