#!/bin/sh # Copy Horde_Date_Recurrence classes and dependencies to stdout. # This will create a standalone copy of the classes requried for date recurrence computation. SRCDIR=$1 if [ ! -d "$SRCDIR" ]; then echo "Usage: get_horde_date.sh SRCDIR" echo "Please enter a valid source directory of the Horde libs" exit 1 fi echo " 1 ? \$plur : \$sing); } } " sed 's///' $SRCDIR/Date/Utils.php echo "\n" sed 's///' $SRCDIR/Date/Recurrence.php | sed -E "s/Horde_String::/strto/" echo "\n"