Tips to modify an autogenerated ics file with the Vim text editor.
Commande vim : :%s/\\n//g
Before :
SUMMARY:TP - CCUBE - C000\n
After :
SUMMARY:TP - CCUBE - C000
Command vim : :%s/ - \(.*\) \?\(-\?\) \?/,\1\2/g
Before :
SUMMARY:TP - CCUBE - C000
SUMMARY:CM - CCUBE
After :
SUMMARY:TP,CCUBE - C000
SUMMARY:CM,CCUBE