Program for converting letters into symbols.
- Inicie sesión o regístrese para enviar comentarios
Hello to everyone!
Can you tell me, please, a program for converting letters and numbers into symbols? Thanks for your attention and have a nice day.
Letters and digits are symbols. Maybe you want the tr command, but I am not sure: could you give examples of inputs and the related expected outputs?
For example so in order to have my particular alphabet:
A= ≽
B= ∯
etc ......
tr cannot do that because it "supports only single-byte characters" (excerpt from its info document). sed -e s/A/≽/g -e s/B/∯/g does work though:
$ printf 'aA bB\n' | sed -e s/A/≽/g -e s/B/∯/g
a≽ b∯
Hey, this is kind of fun
$ printf 'purple people eaters\n' | sed -e s/p/∯/g -e s/u/≽/g -e s/l/ƒ/g -e s/e/₡/g -e s/r/௹/g
∯≽௹∯ƒ₡ ∯₡o∯ƒ₡ ₡at₡௹s
Are you talking about emoji's? Like turning :) into a yellow smiley face picture?
For example so in order to have my particular alphabet:
A= ≽
B= ∯
etc ......
- Inicie sesión o regístrese para enviar comentarios