Skip to content

Commit

Permalink
do not use sed -E in test
Browse files Browse the repository at this point in the history
git-svn-id: svn://tug.org/texlive/trunk/Build/source@69609 c570f23f-e606-0410-a88d-b1316a301751
  • Loading branch information
kberry committed Jan 27, 2024
1 parent 3de1c6d commit 6955a7b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
5 changes: 5 additions & 0 deletions texk/bibtex-x/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024-01-27 Karl Berry <[email protected]>

* tests/bibtexu-iscjk.test: sed -E is not portable to Solaris 10
(and other systems); also, use sed -n .../p instead of grep.

2023-12-16 TANAKA Takuji <[email protected]>

* configure.ac, version.h:
Expand Down
10 changes: 9 additions & 1 deletion texk/bibtex-x/tests/bibtexu-iscjk.test
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,16 @@ rc=0
## test for is.knj.str$

icuver=1000
$_bibtexu --version | grep 'ICU version' | sed -E 's/.*ICU version ([1-9][0-9])\..*/\1/' > tests/icuver.txt
$_bibtexu --version | sed -n 's/.*ICU version \([1-9][0-9]\)\..*/\1/p' \
>tests/icuver.txt
icuver=`cat tests/icuver.txt`
if test -z "$icuver"; then
echo "$0: quitting, could not determine icu version from bibtexu" >&2
echo "$0: ($_bibtexu --version)" >&2
$_bibtexu --version >&2
exit 1
fi

echo "*** icuver="$icuver
if [ $icuver -lt 74 ]; then
# skip CJK Ideograph Extension I
Expand Down

0 comments on commit 6955a7b

Please sign in to comment.