Something went wrong. Try again.
Measure the width of text in the terminal and build simple layouts!
Something went wrong. Try again.
582 B · 24 lines
Shell
at main
12345678910111213141516171819202122232425#!/bin/bashdeclare -a test_cases=( "🏳️⚧️" "👶🏽" "👨❤️💋👨" "👩👩👦👦" "अनुच्छेद" "র্য" "র্য" "ශ්ර" "ශ්ර" "क्षि" "↔️" "葛󠄀" "Z͑ͫ̓ͪ̂ͫ̽͏̴̙̤̞͉͚̯̞̠͍A̴̵̜̰͔ͫ͗͢L̠ͨͧͩ͘G̴̻͈͍͔̹̑͗̎̅͛́Ǫ̵̹̻̝̳͂̌̌͘!͖̬̰̙̗̿̋ͥͥ̂ͣ̐́́͜͞" "バ" "ปฏัก" "あいう★")
for test_case in "${test_cases[@]}"; do printf "||$test_case||\n..0123456789\n"done