Question : sed in a batch script

Hi

I need the sed command that checks  the second character in a file, if it is an 'R' then I need to remove the first charater in the file. I know how to remove the first, I use '1s/^.//'

Answer : sed in a batch script

'1s/^.R/R/'
Random Solutions  
 
programming4us programming4us