* tools/fix_date.sh
* tools/popfile-link.sh
* tools/textviewer.sh
Fix bashisms and other portability glitches (thanks to
Steven M. Bellovin).
+2009-01-12 [wwp] 3.7.0cvs33
+
+ * tools/fix_date.sh
+ * tools/popfile-link.sh
+ * tools/textviewer.sh
+ Fix bashisms and other portability glitches (thanks to
+ Steven M. Bellovin).
+
2009-01-11 [paul] 3.7.0cvs32
* src/addrindex.c
( cvs diff -u -r 1.213.2.186 -r 1.213.2.187 src/folder.c; ) > 3.7.0cvs30.patchset
( cvs diff -u -r 1.28.2.39 -r 1.28.2.40 src/addrindex.c; ) > 3.7.0cvs31.patchset
( cvs diff -u -r 1.28.2.40 -r 1.28.2.41 src/addrindex.c; ) > 3.7.0cvs32.patchset
+( cvs diff -u -r 1.1.2.5 -r 1.1.2.6 tools/fix_date.sh; cvs diff -u -r 1.1.2.2 -r 1.1.2.3 tools/popfile-link.sh; cvs diff -u -r 1.4.2.4 -r 1.4.2.5 tools/textviewer.sh; ) > 3.7.0cvs33.patchset
MICRO_VERSION=0
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=32
+EXTRA_VERSION=33
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
# If no X-Original-Date already exist, the former Date value will be set
# in such field.
-VERSION="0.0.4"
+VERSION="0.0.5"
-function version()
+version()
{
echo "$VERSION"
exit 0
}
-function usage()
+usage()
{
echo "usage:"
echo " ${0##*/} [<switches>] <filename> [<filename> ..]"
exit $1
}
-function date_valid()
+date_valid()
{
test $STRICT -eq 1 && \
REGEXP="$DATE_REGEXP_STRICT" || \
# the web browser set in Claws Mail prefs.
-function open_page()
+open_page()
{
TMPCMD=$(echo $OPEN_CMD | sed "s|\"%s\"|$1|")
$TMPCMD &
SESSION_ID=""
-if [ "$1" == "--ask-session-id" ]
+if [ "$1" = "--ask-session-id" ]
then
shift
SESSION_ID=$(gxmessage -entry -center -wrap -buttons "OK:0,Cancel:1" -default "OK" \
*.xls) TYPE=EXCEL ;;
esac
-if [ "$TYPE" == "" ]
+if [ "$TYPE" = "" ]
then
case $FILETYPE in
*"HTML"*) TYPE=HTML ;;