my question seems to be general, but i can\'t find any answers.
In sed command, how can you replace the substitution pattern by a value returned by a simple bash fun
sed -e 's#[0-3][0-9]/[0-1][0-9]/[0-9][0-9]#& $(parseDates &)#' myfile | while read -r line; do eval echo "$line" done