From 26ad499fee0ff005424a8997593bbf1eb39f94db Mon Sep 17 00:00:00 2001 From: William Melody Date: Sat, 18 Apr 2015 21:21:46 -0700 Subject: [PATCH] Spelling correction: formmatted_comment -> formatted_comment --- hosts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosts b/hosts index 4d9b309..962f820 100755 --- a/hosts +++ b/hosts @@ -616,12 +616,12 @@ add() { "${HOSTS_PATH}" else if [[ -n ${comment} ]]; then - local formmatted_comment - formmatted_comment=$(_join " " "${comment[@]}") + local formatted_comment + formatted_comment=$(_join " " "${comment[@]}") printf "%s\t%s\t# %s\n" \ "${ip}" \ "${hostname}" \ - "${formmatted_comment}" >> "${HOSTS_PATH}" + "${formatted_comment}" >> "${HOSTS_PATH}" else printf "%s\t%s\n" \ "${ip}" \