1
0
Fork 0
bash/tests/test-glue-functions
Daniel Baumann fa1b3d3922
Adding upstream version 5.2.37.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 06:49:21 +02:00

13 lines
317 B
Text

# shell functions to include in multiple test files
# squeeze out blanks to avoid white space differences in od implementations
_intl_normalize_spaces()
{
sed -e 's/[[:space:]]\{1,\}/ /g' -e 's/[[:space:]]*$//'
}
# avoid whitespace differences in wc implementations
_cut_leading_spaces()
{
sed -e 's/^[ ]*//g'
}