mirror of
https://github.com/buildplan/du_setup.git
synced 2025-12-29 16:14:59 +00:00
trim whitespaces
This commit is contained in:
@@ -258,7 +258,7 @@ print_separator() {
|
|||||||
local header_text="$1"
|
local header_text="$1"
|
||||||
local color="${2:-$YELLOW}"
|
local color="${2:-$YELLOW}"
|
||||||
local separator_char="${3:-=}"
|
local separator_char="${3:-=}"
|
||||||
|
|
||||||
printf '%s\n' "${color}${header_text}${NC}"
|
printf '%s\n' "${color}${header_text}${NC}"
|
||||||
printf "${separator_char}%.0s" $(seq 1 ${#header_text})
|
printf "${separator_char}%.0s" $(seq 1 ${#header_text})
|
||||||
printf '\n'
|
printf '\n'
|
||||||
|
|||||||
Reference in New Issue
Block a user