#!/bin/sh # (C) Copyright 2005- ECMWF. # # This software is licensed under the terms of the Apache Licence Version 2.0 # which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. # # In applying this licence, ECMWF does not waive the privileges and immunities granted to it by # virtue of its status as an intergovernmental organisation nor does it submit to any jurisdiction. # . ./include.sh set -u # --------------------------------------------------------- # This is the test for the JIRA issue ECC-873. # It tests grib_ls with the ordering option '-B' # --------------------------------------------------------- label="grib_ecc-873-test" tempRef=temp.${label}.ref tempOut=temp.${label}.out # Test 1 # ------ input=${data_dir}/tigge_pf_ecmwf.grib2 ${tools_dir}/grib_ls -p count,level -B'level:i' $input > $tempOut cat > $tempRef < $tempOut cat > $tempRef <