Add ms-cats. - various - Various utilities developed at bitreich. HTML git clone git://bitreich.org/various/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/various/ DIR Log DIR Files DIR Refs DIR Tags --- DIR commit 592a16002c814925d22f702ca805563203f4ee00 DIR parent 08ba44c39d435ca04d7ef39d7f5d5a8b783dd883 HTML Author: Christoph Lohmann <20h@r-36.net> Date: Sun, 6 Mar 2022 22:18:35 +0100 Add ms-cats. Diffstat: A ms-cats | 235 +++++++++++++++++++++++++++++++ 1 file changed, 235 insertions(+), 0 deletions(-) --- DIR diff --git a/ms-cats b/ms-cats @@ -0,0 +1,235 @@ +#!/bin/sh +# +# From: https://devblogs.microsoft.com/oldnewthing/20220208-00/?p=106232 +# + +frame1=" * ,MMM8&&&. * + MMMM88&&&&& . + MMMM88&&&&&&& + * MMM88&&&&&&&& + MMM88&&&&&&&& + ‘MMM88&&&&&&’ + ‘MMM8&&&’ * + |\___/| /\___/\ + ) ( ) ~( . ‘ + =\ /= =\~ /= + )===( ) ~ ( + / \ / \ + | | ) ~ ( + / \ / ~ \ + \ / \~ ~/ + _/\_/\_/\__ _/_/\_/\__~__/_/\_/\_/\_/\_/\_ + | | | |( ( | | | )) | | | | | | + | | | | ) ) | | |//| | | | | | | + | | | |(_( | | (( | | | | | | | + | | | | | | | |\)| | | | | | | + | | | | | | | | | | | | | | | " + +frame2=" * ,MMM8&&&. * + MMMM88&&&&& . + MMMM88&&&&&&& + * MMM88&&&&&&&& + MMM88&&&&&&&& + ‘MMM88&&&&&&’ + ‘MMM8&&&’ * + |\___/| /\___/\ + ) ( ) ~( . ‘ + =\ /= =\~ /= + )===( ) ~ ( + / \ / \ + | | ) ~ ( + / \ / ~ \ + \ / \~ ~/ + _/\_/\_/\__ _/_/\_/\__~__/_/\_/\_/\_/\_/\_ + | | | |) )| | | (( | | | | | | | + | | | ( ( | | | |\\\\| | | | | | | + | | | |)_) | | |))| | | | | | | + | | | | | | | |\)| | | | | | | + | | | | | | | | | | | | | | | " + +frame3=" + * ,MMM8&&&. * + MMMM88&&&&& . + MMMM88&&&&&&& + * MMM88&&&&&&&& + MMM88&&&&&&&& + ‘MMM88&&&&&&’ + |\___/| /\___/\ + ) ( ) ~( . ‘ + =\ /= =\~ /= + )===( ) ~ ( + / \ / \ + | | ) ~ ( + / \ / ~ \ + \ / \~ ~/ + _/\_/\_/\__ _/_/\_/\__~__/_/\_/\_/\_/\_/\_ + | | | |) )| | | (( | | | | | | | + | | | ( ( | | | |\\\\| | | | | | | + | | | |)_) | | |))| | | | | | | + | | | | | | | |\)| | | | | | | + | | | | | | | | | | | | | | | " + +frame4=" + + * ,MMM8&&&. * + MMMM88&&&&& . + MMMM88&&&&&&& + * MMM88&&&&&&&& + MMM88&&&&&&&& + |\___/| /\___/\ + ) ( ) ~( . ‘ + =\ /= =\~ /= + )===( ) ~ ( + / \ / \ + | | ) ~ ( + / \ / ~ \ + \ / \~ ~/ + _/\_/\_/\__ _/_/\_/\__~__/_/\_/\_/\_/\_/\_ + | | | |) )| | | (( | | | | | | | + | | | ( ( | | | |\\\\| | | | | | | + | | | |)_) | | |))| | | | | | | + | | | | | | | |\)| | | | | | | + | | | | | | | | | | | | | | | " + +frame5=" + + + * ,MMM8&&&. * + MMMM88&&&&& . + MMMM88&&&&&&& + * MMM88&&&&&&&& + |\___/| /\___/\ + ) ( ) ~( . ‘ + =\ /= =\~ /= + )===( ) ~ ( + / \ / \ + | | ) ~ ( + / \ / ~ \ + \ / \~ ~/ + _/\_/\_/\__ _/_/\_/\__~__/_/\_/\_/\_/\_/\_ + | | | |) )| | | (( | | | | | | | + | | | ( ( | | | |\\\\| | | | | | | + | | | |)_) | | |))| | | | | | | + | | | | | | | |\)| | | | | | | + | | | | | | | | | | | | | | | " + +frame6=" + + + + * ,MMM8&&&. * + MMMM88&&&&& . + MMMM88&&&&&&& + |\___/| /\___/\ + ) ( ) ~( . ‘ + =\ /= =\~ /= + )===( ) ~ ( + / \ / \ + | | ) ~ ( + / \ / ~ \ + \ / \~ ~/ + _/\_/\_/\__ _/_/\_/\__~__/_/\_/\_/\_/\_/\_ + | | | |) )| | | (( | | | | | | | + | | | ( ( | | | |\\\\| | | | | | | + | | | |)_) | | |))| | | | | | | + | | | | | | | |\)| | | | | | | + | | | | | | | | | | | | | | | " + +frame7=" + + + + + MMMM88&&&&& . + MMMM88&&&&&&& + |\___/| /\___/\ + ) ( ) ~( . ‘ + =\ /= =\~ /= + )===( ) ~ ( + / \ / \ + | | ) ~ ( + / \ / ~ \ + \ / \~ ~/ + _/\_/\_/\__ _/_/\_/\__~__/_/\_/\_/\_/\_/\_ + | | | |) )| | | (( | | | | | | | + | | | ( ( | | | |\\\\| | | | | | | + | | | |)_) | | |))| | | | | | | + | | | | | | | |\)| | | | | | | + | | | | | | | | | | | | | | | " + +frame8=" + + + + + + MMMM88&&&&&&& + |\___/| /\___/\ + ) ( ) ~( . ‘ + =\ /= =\~ /= + )===( ) ~ ( + / \ / \ + | | ) ~ ( + / \ / ~ \ + \ / \~ ~/ + _/\_/\_/\__ _/_/\_/\__~__/_/\_/\_/\_/\_/\_ + | | | |) )| | | (( | | | | | | | + | | | ( ( | | | |\\\\| | | | | | | + | | | |)_) | | |))| | | | | | | + | | | | | | | |\)| | | | | | | + | | | | | | | | | | | | | | | " + +frame9=" + + __________________ + |Good Night Moon!| + \ ============== + | / + \/ + |\___/| /\___/\ + ) ( ) ~( . ‘ + =\ /= =\~ /= + )===( ) ~ ( + / \ / \ + | | ) ~ ( + / \ / ~ \ + \ / \~ ~/ + _/\_/\_/\__ _/_/\_/\__~__/_/\_/\_/\_/\_/\_ + | | | |) )| | | (( | | | | | | | + | | | ( ( | | | |\\\\| | | | | | | + | | | |)_) | | |))| | | | | | | + | | | | | | | |\)| | | | | | | + | | | | | | | | | | | | | | | " + +print_frame() { + tput cup 0 0 + printf "%s" "${1}" + sleep 1 +} + +trap "reset; exit;" SIGINT SIGABRT SIGTERM + +tput init +tput civis +tput clear + +while /bin/true; +do + print_frame "${frame1}" + print_frame "${frame2}" + print_frame "${frame3}" + print_frame "${frame4}" + print_frame "${frame5}" + print_frame "${frame6}" + print_frame "${frame7}" + print_frame "${frame8}" + print_frame "${frame9}" + print_frame "${frame8}" + print_frame "${frame7}" + print_frame "${frame6}" + print_frame "${frame5}" + print_frame "${frame4}" + print_frame "${frame3}" + print_frame "${frame2}" +done +