Blog: 2025-12-11: Difference between revisions
No edit summary |
No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 6: | Line 6: | ||
This video animation versus addiction https://www.youtube.com/watch?v=KoB2cqmYZNg #watchlist |
This video animation versus addiction https://www.youtube.com/watch?v=KoB2cqmYZNg #watchlist |
||
This album STN MTN / Kauai from Childish Gambino https://music.youtube.com/watch?v=ayLiAVJ6vTM&list=OLAK5uy_ktMeffYkrpVnQ4jLJk0i0ijB-oDBngXV8 |
|||
This echo-variable nit is pretty deep, but it is fixed by using the tmlanguage syntax for bash, which uses this complex boundary-defining regex: |
|||
<pre> |
|||
match = '(?<=^|;|&|\s)(?: |
|||
admin|alias|ar|asa|at|awk|basename|batch|bc|bg|break|c99|cal|cat| |
|||
cd|cflow|chgrp|chmod|chown|cksum|cmp|colon|comm|command|compress| |
|||
continue|cp|crontab|csplit|ctags|cut|cxref|date|dd|delta|df|diff| |
|||
dirname|dot|du|echo|ed|env|eval|ex|exec|exit|expand|export|expr| |
|||
false|fc|fg|file|find|fold|fort77|fuser|gencat|get|getconf|getopts| |
|||
grep|hash|head|iconv|id|ipcrm|ipcs|jobs|join|kill|lex|link|ln| |
|||
locale|localedef|logger|logname|lp|ls|m4|mailx|make|man|mesg|mkdir| |
|||
mkfifo|more|mv|newgrp|nice|nl|nm|nohup|od|paste|patch|pathchk|pax| |
|||
pr|printf|prs|ps|pwd|qalter|qdel|qhold|qmove|qmsg|qrerun|qrls| |
|||
qselect|qsig|qstat|qsub|read|readonly|renice|return|rm|rmdel|rmdir| |
|||
sact|sccs|sed|set|sh|shift|sleep|sort|split|strings|strip|stty|tabs| |
|||
tail|talk|tee|test|time|times|touch|tput|tr|trap|true|tsort|tty| |
|||
type|ulimit|umask|unalias|uname|uncompress|unexpand|unget|uniq|unlink| |
|||
unset|uucp|uudecode|uuencode|uustat|uux|val|vi|wait|wc|what|who| |
|||
write|xargs|yacc|zcat |
|||
)(?=\s|;|&|$)'; |
|||
</pre> |
|||
Latest revision as of 17:54, 11 December 2025
This doc points to where syntaxes are defined: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks
Which for fish is: https://github.com/l15n/fish-tmbundle/blob/master/Syntaxes/fish.tmLanguage hmm archived
This really simple game engine https://www.flickgame.org/ makes choose your own adventure type games they look like this https://www.flickgame.org/play.html?p=a76f4defa35865e99909922fc40a4ed7
This video animation versus addiction https://www.youtube.com/watch?v=KoB2cqmYZNg #watchlist
This album STN MTN / Kauai from Childish Gambino https://music.youtube.com/watch?v=ayLiAVJ6vTM&list=OLAK5uy_ktMeffYkrpVnQ4jLJk0i0ijB-oDBngXV8
This echo-variable nit is pretty deep, but it is fixed by using the tmlanguage syntax for bash, which uses this complex boundary-defining regex:
match = '(?<=^|;|&|\s)(?: admin|alias|ar|asa|at|awk|basename|batch|bc|bg|break|c99|cal|cat| cd|cflow|chgrp|chmod|chown|cksum|cmp|colon|comm|command|compress| continue|cp|crontab|csplit|ctags|cut|cxref|date|dd|delta|df|diff| dirname|dot|du|echo|ed|env|eval|ex|exec|exit|expand|export|expr| false|fc|fg|file|find|fold|fort77|fuser|gencat|get|getconf|getopts| grep|hash|head|iconv|id|ipcrm|ipcs|jobs|join|kill|lex|link|ln| locale|localedef|logger|logname|lp|ls|m4|mailx|make|man|mesg|mkdir| mkfifo|more|mv|newgrp|nice|nl|nm|nohup|od|paste|patch|pathchk|pax| pr|printf|prs|ps|pwd|qalter|qdel|qhold|qmove|qmsg|qrerun|qrls| qselect|qsig|qstat|qsub|read|readonly|renice|return|rm|rmdel|rmdir| sact|sccs|sed|set|sh|shift|sleep|sort|split|strings|strip|stty|tabs| tail|talk|tee|test|time|times|touch|tput|tr|trap|true|tsort|tty| type|ulimit|umask|unalias|uname|uncompress|unexpand|unget|uniq|unlink| unset|uucp|uudecode|uuencode|uustat|uux|val|vi|wait|wc|what|who| write|xargs|yacc|zcat )(?=\s|;|&|$)';