forked from ClarifiedSecurity/catapult
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
108 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
|
||
export C_RED="\x1b[91m" | ||
export C_GREEN="\x1b[92m" | ||
export C_YELLOW="\x1b[93m" | ||
export C_BLUE="\x1b[94m" | ||
export C_MAGENTA="\x1b[95m" | ||
export C_CYAN="\x1b[96m" | ||
export C_WHITE="\x1b[97m" | ||
export CB_RED="\x1b[91;1m" | ||
export CB_GREEN="\x1b[92;1m" | ||
export CB_YELLOW="\x1b[93;1m" | ||
export CB_BLUE="\x1b[94;1m" | ||
export CB_MAGENTA="\x1b[95;1m" | ||
export CB_CYAN="\x1b[96;1m" | ||
export CB_WHITE="\x1b[97;1m" | ||
export C_RST="\x1b[0m" | ||
|
||
|
||
print_nl() { | ||
echo -e "$@" | ||
} | ||
|
||
print() { | ||
echo -ne "$@" | ||
} | ||
|
||
error_nl() { | ||
echo -e "$@" >&2 | ||
} | ||
|
||
error() { | ||
echo -ne "$@" >&2 | ||
} |