30 lines · 732 B · Shell
RawDownload
#!/usr/bin/env bash cd $(dirname $0)source testbase.sh function show {    offset=$1    IN "printf \"\\\\e[H\\\\e[J\" && tail +${offset} UTF-8-test.txt | head -23 && sleep 2\r"} show 63SNAP utf8_01 2bf11d4ae3cced3cafa84bdf611f0a46show 89SNAP utf8_02 67e158e17a32cf6227fa76cabede3dbeshow 112SNAP utf8_03 185e4a2474fb8bd203be4fd4beb8fa8bshow 132SNAP utf8_04 9584f8145fc4621e55a9b1878a401770show 152SNAP utf8_05 cd79027cf70c539f0daa5935d28ca233show 171SNAP utf8_06 de9c9611cde53ed0166617634409c4d3show 203SNAP utf8_07 452d347b373e25ed113f69312c7cc37cshow 226SNAP utf8_08 d1f380e30af15d0d3900c390f75ec6a6show 245SNAP utf8_09 9fe99776dfa6640d299fceea845dbb17show 286SNAP utf8_10 e4ecf831f88757880fc1ee9ad0d7f95c

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t