mirror of
https://github.com/octoleo/hosts.git
synced 2024-11-22 12:55:11 +00:00
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.
This commit is contained in:
parent
279573d2d0
commit
59e404f865
2
hosts
2
hosts
@ -1023,6 +1023,7 @@ remove() {
|
|||||||
printf "No matching records found.\n"
|
printf "No matching records found.\n"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! ((force_skip_prompt))
|
if ! ((force_skip_prompt))
|
||||||
then
|
then
|
||||||
printf "Removing the following records:\n%s\n" "$target_records"
|
printf "Removing the following records:\n%s\n" "$target_records"
|
||||||
@ -1040,6 +1041,7 @@ remove() {
|
|||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Regular Expression Notes
|
# Regular Expression Notes
|
||||||
#
|
#
|
||||||
# -i '' - in place edit. BSD sed requires extension argument, for GNU
|
# -i '' - in place edit. BSD sed requires extension argument, for GNU
|
||||||
|
Loading…
Reference in New Issue
Block a user