Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[r13118]: trunk / rosegarden / scripts / rgview Maximize Restore History

Download this file

rgview    20 lines (17 with data), 324 Bytes

#!/bin/bash
#
# rgview - handy dandy RG file viewer
#
# D. Michael McIntyre <dmmcintyr@users.sourceforge.net>
#
#

if (file $1|grep gzip); then
    echo Uncompressing $1 for viewing...
    gunzip -c $1 > /tmp/$1.xml
    /usr/bin/view /tmp/$1.xml
    rm -f /tmp/$1.xml > /dev/null
else
    /usr/bin/less $1
fi
exit 0

exit 0