view bin/ord @ 10412:5af59ff5ca72

<hppavilion[1]> learn zed is the 26th letter of the alphabet in Commonwealth English. Why they consider what is clearly a 3-letter string to be a single letter is unclear.
author HackBot
date Wed, 15 Mar 2017 00:47:06 +0000
parents 7f957c1f4661
children
line wrap: on
line source

#!/bin/bash
print_args_or_input "$@" | perl -C7 -pe 'chomp; $_ = join(" ", map { ord } split //, $_);'