h5cc -v Option Throws `sed: invalid option -- E`
- Dominant language
- C
- Stars
- 988
- Forks
- 355
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 12
Description
**Describe the bug**
2.0 output:
```
jam-[10:08am]/mnt/hdf/hyoklee/hdf5perf/trunk/hdf5perflib>/mnt/hdf/hyoklee/chicago/hdf5-2.0/bin/h5cc -v
sed: invalid option -- E
Usage: sed [OPTION]... {script-only-if-no-other-script} [input-file]...
```
**Expected behavior**
1.14 output:
```
jam-[10:07am]/mnt/hdf/hyoklee/hdf5perf/trunk/hdf5perflib>/mnt/hdf/hyoklee/chicago/hdf5-1.14/bin/h5cc -v
Using built-in specs.
COLLECT_GCC=/mnt/hdf/packages/gcc/5.2.0/i686/EL5/bin/gcc
COLLECT_LTO_WRAPPER=/mnt/hdf/packages/gcc/5.2.0/i686/EL5/libexec/gcc/i686-pc-linux-gnu/5.2.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../gcc-5.2.0/configure --prefix=/mnt/hdf/packages/gcc/5.2.0/i686/EL5
Thread model: posix
gcc version 5.2.0 (GCC)
```
**Platform (please complete the following information)**
- HDF5 version: 4a12cfec1948b34d7f1dce99724675091a3c5165
- OS and version: `Linux jam 2.6.18-308.13.1.el5PAE #1 SMP Tue Aug 21 17:50:26 EDT 2012 i686 i686 i386 GNU/Linux`
- Compiler and version: gcc 5.2.0
- Build system (e.g. CMake version) and generator (e.g. XCode, Ninja): cmake-3.18.2 w/ default generator
- Any configure options you specified: `-DHDF5_BUILD_CPP_LIB:BOOL=True -DBUILD_SHARED_LIBS:BOOL=OFF -DHDF5_DEFAULT_API_VERSION:STRING=v16`
**Additional context**
It started on 2025-07-28 (Monday) 21:52 CDT.
Contributor guide
Assessment
This issue has not been assessed yet.