logo

dotfiles

My dotfiles, one branch per machine, rebased on base git clone https://hacktivis.me/git/dotfiles.git
commit: 44fe8f7c0438a48238b65c51ef6ad137c4a2770f
parent 0a6a286b3bd04e473d17a966391a092921ad0e63
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 28 Oct 2021 00:34:28 +0200

.common.sh: Create lojban_cyrillic & cyrillic_lojban aliases

Diffstat:

M.common.sh8+++++++-
1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.common.sh b/.common.sh @@ -24,7 +24,13 @@ alias ...='cd ../..' alias zzz='locker & (sleep 1 ; memsys)' alias ytcp='youtube-dl --write-description --write-info-json --write-annotations --write-sub --write-auto-sub --all-subs --add-metadata --xattrs' alias deposix='unset POSIXLY_CORRECT POSIX_ME_HARDER' - +# because the latin alphabet is a mess: https://lojban.org/publications/cll/cll_v1.1_xhtml-chapter-chunks/chapter-phonology.html#section-oddball-orthographies +# Character-based: Plan9(Port) tr(1); GNU sed(1) y-command +# Byte-based: POSIX, GNU, BusyBox, … tr(1); BusyBox sed(1) y-command +alias lojban_cyrillic='9 tr "abcdefgijklmnoprstuvxyzABCDEFGIJKLMNOPRSTUVXYZ" \ + "абшдефгижклмнопрстувхъзАБШДЕФГИЖКЛМНОПРСТУВХЪЗ"' +alias cyrillic_lojban='9 tr "абшдефгижклмнопрстувхъзАБШДЕФГИЖКЛМНОПРСТУВХЪЗ" \ + "abcdefgijklmnoprstuvxyzABCDEFGIJKLMNOPRSTUVXYZ"' # = functions = # Note: POSIX only allows [0-9a-z_A-Z] in function names