aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorU-AD\carlsoan <carlsoan@gophersjos7275.ad.uc.edu>2018-03-02 12:41:21 -0500
committerU-AD\carlsoan <carlsoan@gophersjos7275.ad.uc.edu>2018-03-02 12:41:21 -0500
commite394931f637a2c0e1fc2e7a85badc79930a18b69 (patch)
treeafae773c97db94c6c1067ca8a7596bc1a35ecd09
parent26e39754e28955b3126391426de2a2fbebdb9ecf (diff)
fixed makefile
-rw-r--r--Makefile5
-rw-r--r--hostlist.txt4
2 files changed, 4 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 504a607..4f0ccdd 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,5 @@
EDITOR = "vim"
-define newlist
-@echo "Enter \"SERVER-NAME<SPACE>SERVER-PORT\" (omit SERVER-PORT if it is 443). Enter a blank line when finished"
-@while true; do read -p "$(1): " thisval ; [[ -z "$$thisval" ]] && break ; echo "$$thisval"; done > $(2)
-endef
-
define newsetting
@read -p "$(1) [$(3)]: " thisset ; [[ -z "$$thisset" ]] && echo "$(2) $(3)" >> $(4) || echo "$(2) $$thisset" | sed 's/\/$$//g' >> $(4)
endef
diff --git a/hostlist.txt b/hostlist.txt
new file mode 100644
index 0000000..0d787cc
--- /dev/null
+++ b/hostlist.txt
@@ -0,0 +1,4 @@
+###################
+# Format:
+# SERVER-NAME<SPACE>SERVER-PORT
+###################