Project

General

Profile

cdo command line and null character

Added by Brendan DeTracey about 2 years ago

Hi all,
I recently posted this question [https://unix.stackexchange.com/questions/722215/empty-string-breaks-command-line] on a bash forum. I was wondering if the cdo team would consider adding an argument filter to remove arguments(words) that are the null character? Just a thought!
Thanks,
Brendan


Replies (2)

RE: cdo command line and null character - Added by Karin Meier-Fleischer about 2 years ago

Hi Brendan,

you should use

cdo -O remapcon,${target_grid} ${trim_op} ${input_file} ${output_file}

RE: cdo command line and null character - Added by Brendan DeTracey about 2 years ago

Thanks Karin. I am now thoroughly embarrassed (yet again) and bash'ing my head against the wall. But at least I have the simple answer. :)

    (1-2/2)