Files
hdf5/vms/tools/h5diff/remove_exit.sh
Raymond Lu b49b9e0273 [svn-r24081] This script removes the "EXIT CODE" line in the end of all standard output files. OpenVMS doesn't output the
same value as Unix.  So we remove the line first on Unix before running the tests.  See Jira issue VMS-4.

Tested on jam.
2013-08-28 15:07:50 -05:00

12 lines
384 B
Bash

#!/bin/sh
# This script removes the "EXIT CODE" line in the end of all standard output files. OpenVMS doesn't output the
# same value as Unix. So we remove the line first on Unix before running the tests. Simply run the command
# "sh ./remove_exit.sh" under hdf5/tools/h5diff/testfiles directory.
for file in $(ls *.txt)
do
sed '/EXIT CODE/d' $file > _$file
mv _$file $file
done