Hi all,
My query is... in the runtime, you are getting any input string. Unfortunately, you have pressed some ctrl keys or esc keys or arrow keys while typing input string. You can get the input value like that...
input string as
welcome^[[DtoB e[angaloree[Be[Ae[Be[De[De[Ce[Ce[Ce
So ,I want to remove those unwanted keys value...like that
Welcome to Bangalore
could you suggest me guys which unix commands I can use?
Thanx
Balan:confused:
remove everything except the alphabets
echo $input_string | sed 's/[^a-zA-Z]//g'
Hi,
echo $input_string | sed 's/[^a-zA-Z]//g'
if I use abu cmd... can get the following output only.
Welcome Dto BangaloreBABDDCCC
this removes only ^ [ ] e that chars.
i need exact string like Welcome to Bangalore
I tried already that cmd....thats y i confused
please clear my query yaar!
I thing, we have to find out key values. we can delete those key values if we found.
But how can we find those key values:confused: