A numeronym is a word where a number is used to form an abbreviation. One specific way to do this is by replacing the letters between the first and the last letter with a number representing the number of letters omitted, such as in the numeronym i18n for internationalization. These word shortenings are called alphanumeric acronyms, alphanumeric abbreviations or numerical contractions.
According to Tex Texin1, the first numeronym of this kind was S12n — the electronic mail account name given to Digital Equipment Corporation (DEC) employee Jan Scherphuizen by a system administrator because his surname was too long to be an account name. By 1985, colleagues who found Jan's name unpronounceable often referred to him verbally as S12n (ess-twelve-en). The use of such numeronyms became part of DEC corporate culture.
In the following partial Unix command, a word that only contains letters is written to stdout (both uppercase and lowercase letters are allowed). The word consists of at least four letters.
$ echo "<word>" | …
Complete the command so that the number used in the numerical contraction of the word is written to stdout.
$ echo "internationalization" | … 18 $ echo "Scherpenhuizen" | … 12 $ echo "numeronym" | … 7
Only submit the part of the command that replaces the tree dots (…).