From c541fc0e1ad13ca18a297c5220ecad557c19d6db Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Sun, 18 May 2025 09:15:16 +0200 Subject: update --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 15f92d0..c7ec09d 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ## number functions -**pb_number** +###pb_number pb_isuint is var unsigned int pb_isint is var signed int @@ -11,11 +11,15 @@ ## colour functions -**pb_colour** +###pb_colour pb_fg 0-254 set foreground colour pb_bg 0-254 set background colour - pb_nc remove coulours + pb_nc remove colours + + **Usage** + source ./pb + printf %b "$(pb_bg 196)$(pb_fg 254) RED $(pb_nc)\n" ## Bash string manipulation cheatsheet [https://gist.github.com/magnetikonline/90d6fe30fc247ef110a1](https://gist.github.com/magnetikonline/90d6fe30fc247ef110a1) -- cgit v1.2.3