Commit ba92f064 authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Unescape hash in awk script (required for mawk+zsh)

If this breaks other awk implementations or shells, a more complex
solution will be needed.
parent b2b38c83
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ make_config() {

	cat ~/.ssh/config ~/.ssh/config.local 2>/dev/null |
		awk >"$SSH_CONFIG" "
			function remove_line() { sub(/^/, \"\#\"); }
			function remove_line() { sub(/^/, \"#\"); }
			/^$/ || /^#[^@]/ { print \$0; next }

			`rule_match`