command to remove characters from a string
I'd like to create a script that would look into a file and remove characters from it.
file name: test
the file contains the following data: UPC/retail price
So I want to remove the first 4 characters of each line, the last character from the UPC code and the retail price including the dollar sign. (This is not a homework assignment, it is a painful process that I do at work but with many many more UPCs)