I have written a small script as follows
#!/usr/bin/ksh
cat test |while read line1
do
echo "$line1"
done
The input file "test" has the following lines
Kensington K64391US C\i70 Wireless
Desktop Nintendo Wii Wireless Nunchuck
\M470 DeLonghi HHP1500 Mica Panel
Vi\20 Radiator Heater
But "\" is missing in the output which is as follows
Kensington K64391US Ci70 Wireless
Desktop Nintendo Wii Wireless Nunchuck
M470 DeLonghi HHP1500 Mica Panel Vi20
Radiator Heater
How can I get the "\" to come in the output?