Fix failure on MacOS (on GitHub CI) due to use of 'head'

This commit is contained in:
Shahram Najm 2019-02-22 13:58:34 +00:00
parent 2da922ee14
commit bea5c81e07
1 changed files with 2 additions and 1 deletions

View File

@ -23,7 +23,8 @@ tempBufr=temp.${label}.bufr
# --------------------------------
input=${data_dir}/gts/EGRR20150317121020_00493212.DAT
${tools_dir}/bufr_copy -g -w numberOfSubsets=9 $input $tempBufr
${tools_dir}/gts_ls $tempBufr | sed 1d | head -n -3 > $tempOut
# Remove the first line and the last three
${tools_dir}/gts_ls $tempBufr | sed 1d | sed 9,11d > $tempOut
cat > $tempRef <<EOF
TT AA II CCCC YY GG gg BBB identifier