strip endings. multi delimiter awk usage