backspace equivalent in shell scripting - Shell Scripting Views : 419
Tagged in : Shell Scripting
0 0
Send mail
backspace equivalent in shell scripting

echo -e 'testing back'; echo --space back;

RESULT :

testing back
--space back




echo -e 'testing back\b\b\b\b\c'; echo --space back

RESULT : testing --space back


In the above code the \b option will remove backspace and \c option will suppress the newline.

By RameshKumar, On - 2010-01-27



    Login to add Comments .