O
O
OnYourLips2018-07-23 10:49:18
linux
OnYourLips, 2018-07-23 10:49:18

Text transcoding in linux?

There is a string "ghbdtn". How can I recode it into "hello" using existing Linux software?
I plan to hang this in the xclip handler.
X Neural Switcher does not work normally, I don’t want to write my own crutch with mapping either.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anatoly Medvedev, 2018-07-23
@OnYourLips

echo -n 'ghbdtn' | sed "y/qwertyuiop[]asdfghjkl;'zxcvbnm,./йцукенгшщзхъфывапролджэячсмитьбю/"

P
pfg21, 2018-07-23
@pfg21

console command tr - tr ansliterate

Замена a на j, b на k, c на m, d на n в стандартном входе.
$ tr 'abcd' 'jkmn'

S
SOTVM, 2018-07-23
@sotvm

X Neural Switcher = works fine
, you just need to correctly configure
to live (there is no way to kick on the mirror if the face is crooked)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question