In this patch we optimize xpns_log_filenames to not spawn another sed process while being ran.
also optimizing xpns_arr2args using a more more efficient syntax for iterating over the array, this is done by using _arg in "$@" directly instead of declaring _arg="${i}" every loop. As well as optimizing sed usage.
I have done some preliminary testing making sure that its working as expected, but I have not compiled and ran it. Please have a look before merging
In this patch we optimize xpns_log_filenames to not spawn another sed process while being ran. also optimizing xpns_arr2args using a more more efficient syntax for iterating over the array, this is done by using _arg in "$@" directly instead of declaring _arg="${i}" every loop. As well as optimizing sed usage.
I have done some preliminary testing making sure that its working as expected, but I have not compiled and ran it. Please have a look before merging
Thanks for a great tool, cheers.