remove the special characters and move the file into another server

hi

you can use sed command for removing such type of characters

cat filename | sed "/Desc/d;s/_//g;s/&//g;s/*//g;s/\,//g;s/\^//g;s/)//g;s/\\$//g;s/(//g;s/{//g;s/}//g"

Thanks for swift response. This is working fine.

I am not sure how many special charters are there in a file. I have mentioned only few special charters in the file. But I may get more special charters which we don't know. Overall, I want to remove any special charter other then charters and display. Any help greatly appreciated.
Thanks-Suresh

I believe you can use the filename enclosed with a filename as "<filename>" when moving the file to another directory.

ok fine.

I suggest before generating the filename ,correct the desc column (that is by removing the special characters)

by

sed -e 's/[^a-zA-Z0-9]*//g' <filename>

then generate the filename