backspace equivalent in shell scripting

by RameshKumar 2010-01-27 14:46:34

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.

Tagged in:

1445
like
0
dislike
0
mail
flag

You must LOGIN to add comments