use sed expression that can be used on darwin too

git-svn-id: trunk@9073 -
This commit is contained in:
vincents 2006-04-04 18:25:14 +00:00
parent 5501990211
commit 2c821f6370

View File

@ -1,7 +1,7 @@
#!/usr/bin/env bash
grep 'LazarusVersionStr= ' ../../ide/aboutfrm.pas \
| sed -e 's/.*[^0-9\.]\([0-9\.]\+\)[^0-9\.].*/\1/'
| sed -e 's/.*[^0-9 \.]\([0-9\.][0-9\.]*\)[^0-9\.].*/\1/'
# end.