Skip to content

Instantly share code, notes, and snippets.

View jdunham22's full-sized avatar

Jason Dunham jdunham22

View GitHub Profile
@jdunham22
jdunham22 / ANSI-Test.sh
Last active August 15, 2022 08:15 — forked from webstandardcss/ANSI-Test.sh
Shell script to test support of ANSI color and style codes
#!/bin/sh
# some terminals need echo -e, others don't understand it
_ECHO_OPT=""
#_ECHO_OPT="-e"
# another terminal doesn't understand \x1b but \033 works
#_ESC="\x1b"
_ESC="\033"