From 9a7c44263e98924d0489443f49c3531e02aa95b5 Mon Sep 17 00:00:00 2001 From: Nassim Bentarka Date: Sun, 18 Feb 2018 11:21:32 +0000 Subject: [PATCH] Update az_qw_convert.sh --- Rapid_Shell/az_qw_convert.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Rapid_Shell/az_qw_convert.sh b/Rapid_Shell/az_qw_convert.sh index ba66ba0..f6b97f6 100644 --- a/Rapid_Shell/az_qw_convert.sh +++ b/Rapid_Shell/az_qw_convert.sh @@ -4,15 +4,15 @@ #az_qw_convert.sh - Enhanced by NBN - (Case sensitive input) #Dependencies: sed -echo "Do you want to convert :\n\n1. QWERTY to AZERTY\n2. AZERTY to QWERTY"; read chx +echo "Do you want to convert :\n\n1. QWERTY to AZERTY\n2. AZERTY to QWERTY "; read chx if test "$chx" -eq "1"; then - sleep 1 + sleep .5 echo "Please, insert the text you want to convert in AZERTY"; read txt sleep .5 echo "$txt" | sed 'y/qQaAzZwWmM,<.;:/aAqQwWzZ,?;.:mM/' | sed "y/4'/'ù/" | sed 'y/123567890-_!@#$%^&*()[{]}¦"?/&é"(-è_çà)°1234567890^¨$£µ%§/' | sed 'y/>\\\//\/*!/' elif test "$chx" -eq "2"; then - sleep 1 - echo "Please, insert the text you want to convert in QWERTY"; read txt + sleep .5 + echo "Please, insert the text you want to convert in QWERTY "; read txt sleep .5 echo "$txt" | sed 'y/aAqQwWzZ,?;.:mM/qQaAzZwWmM,<.;:/' | sed "y/!\//\/>/" | sed 'y/&é"(-è_çà)°1234567890^¨$£µ%§/123567890-_!@#$%^&*()[{]}¦"?/' | sed "y/ù'/'4/" else