I'm trying to get rid of the ./ in the file and have tried the following with sed but I'm not getting the correct result... I'm not sure what way it's supposed to be written
cat rcode_list_2010_B.txt | sed s'/[./]//' > rcode_list_2010_C.txt
cat q1_rcode_list_c.txt | sed s'/[./]//g' > q1_rcode_list_d.txt
cat rcode_list_2010_B.txt | sed s'/\./\' > rcode_list_2010_C.txt
in your original script you say "search for a dot OR slash and replace with nothing"
in this version it says "serach for a dot AND slash and replace cith nothing"