How can I retrieve every portion separately from the following file name?
DSA4020_frontcover_20346501_2011-05.doc
I want to retrieve the information as below:
name = DSA4020
type = frontcover
id = 20346501
date = 2011-05
Is it possible to do this with sed?