From 59e404f865dca92aa4f11ae6081b0bd3665b4990 Mon Sep 17 00:00:00 2001 From: William Melody Date: Mon, 23 Nov 2015 11:05:50 -0800 Subject: [PATCH] Add newlines around prompt section of `remove`. The convention used in this project is to include newlines around longer, grouped conditionals in order to provide better visual separation. --- hosts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts b/hosts index 49ff66d..6c25ac1 100755 --- a/hosts +++ b/hosts @@ -1023,6 +1023,7 @@ remove() { printf "No matching records found.\n" exit 1 fi + if ! ((force_skip_prompt)) then printf "Removing the following records:\n%s\n" "$target_records" @@ -1040,6 +1041,7 @@ remove() { esac done fi + # Regular Expression Notes # # -i '' - in place edit. BSD sed requires extension argument, for GNU