Align table headers with contents

This commit is contained in:
The Magician 2023-11-04 17:12:50 +00:00
parent dfd4b2d46d
commit e06ce5a2bd
1 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ printf '\e[4;37m\e[1;37m4; (Underscore)\e[0m\n'
printf 'This attribute displays text with an underline.\n' printf 'This attribute displays text with an underline.\n'
printf 'If the underline is always displayed in the foreground color. See the table below for more detail.\n' printf 'If the underline is always displayed in the foreground color. See the table below for more detail.\n'
printf '\n' printf '\n'
printf '\e[4;37mForeground\e[0m \e[4;37mBackground\e[0m\n' printf '\e[4;37mForeground\e[0m \e[4;37mBackground\e[0m\n'
printf '\e[4;30m[4;30m Black\e[0m \e[4;40m[4;40m Black\e[0m\n' printf '\e[4;30m[4;30m Black\e[0m \e[4;40m[4;40m Black\e[0m\n'
printf '\e[4;31m[4;31m Red\e[0m \e[4;41m[4;41m Red\e[0m\n' printf '\e[4;31m[4;31m Red\e[0m \e[4;41m[4;41m Red\e[0m\n'
printf '\e[4;32m[4;32m Green\e[0m \e[4;42m[4;42m Green\e[0m\n' printf '\e[4;32m[4;32m Green\e[0m \e[4;42m[4;42m Green\e[0m\n'
@ -65,7 +65,7 @@ printf 'Also known as the dreaded blinking text of doom.\n'
printf 'Causes text to blink. Some terminal emulators refuse to honor this attribute as a matter of good taste, although there are some semi-legitimate uses for it -- the `ls` program, for example, can be configured to cause listings of broken symlinks to blink.\n' printf 'Causes text to blink. Some terminal emulators refuse to honor this attribute as a matter of good taste, although there are some semi-legitimate uses for it -- the `ls` program, for example, can be configured to cause listings of broken symlinks to blink.\n'
printf 'Note that even if the blinking attribute is set on a background color, it''s always the text that blinks, not the background.\n' printf 'Note that even if the blinking attribute is set on a background color, it''s always the text that blinks, not the background.\n'
printf '\n' printf '\n'
printf '\e[4;37mForeground\e[0m \e[4;37mBackground\e[0m\n' printf '\e[4;37mForeground\e[0m \e[4;37mBackground\e[0m\n'
printf '\e[5;30m[5;30m Black\e[0m \e[5;40m[5;40m Black\e[0m\n' printf '\e[5;30m[5;30m Black\e[0m \e[5;40m[5;40m Black\e[0m\n'
printf '\e[5;31m[5;31m Red\e[0m \e[5;41m[5;41m Red\e[0m\n' printf '\e[5;31m[5;31m Red\e[0m \e[5;41m[5;41m Red\e[0m\n'
printf '\e[5;32m[5;32m Green\e[0m \e[5;42m[5;42m Green\e[0m\n' printf '\e[5;32m[5;32m Green\e[0m \e[5;42m[5;42m Green\e[0m\n'
@ -80,7 +80,7 @@ printf '\e[4;37m\e[1;37m7; (Inverse)\e[0m\n'
printf 'Causes the foreground and background text to be flipped.\n' printf 'Causes the foreground and background text to be flipped.\n'
printf 'This is mostly a convenient shorthand for avoiding setting the foreground and background text simultaneously when you want one to be the default of the other.\n' printf 'This is mostly a convenient shorthand for avoiding setting the foreground and background text simultaneously when you want one to be the default of the other.\n'
printf '\n' printf '\n'
printf '\e[4;37mForeground\e[0m \e[4;37mBackground\e[0m\n' printf '\e[4;37mForeground\e[0m \e[4;37mBackground\e[0m\n'
printf '\e[7;30m[7;30m Black\e[0m \e[7;40m[7;40m Black\e[0m\n' printf '\e[7;30m[7;30m Black\e[0m \e[7;40m[7;40m Black\e[0m\n'
printf '\e[7;31m[7;31m Red\e[0m \e[7;41m[7;41m Red\e[0m\n' printf '\e[7;31m[7;31m Red\e[0m \e[7;41m[7;41m Red\e[0m\n'
printf '\e[7;32m[7;32m Green\e[0m \e[7;42m[7;42m Green\e[0m\n' printf '\e[7;32m[7;32m Green\e[0m \e[7;42m[7;42m Green\e[0m\n'