Sha256: 6fcbef2c35ec2bb752bbbde47dbb509cf8d401fb9d0060df4ae39291b4f53a57

Contents?: true

Size: 550 Bytes

Versions: 1

Compression:

Stored size: 550 Bytes

Contents

__SKIP__=77

remove_commit_id()
{
    # Remove a commit id embedded in tags file
    sed -i -e '/!_TAG_PROGRAM_VERSION.*/s#/[^/]*/#//#' $1
}

is_feature_available()
{
    local ctags=$1
    local feat=$2

    if ! ${ctags} --list-features | grep -q "$feat"; then
	echo "feature \"$feat\" is not available in $ctags"
	exit ${__SKIP__}
    fi
}

exit_if_no_coproc()
{
    is_feature_available $1 coproc
}

run_with_format()
{
    echo '#' $*
    local format=$1
    shift
    ${CTAGS} --quiet --options=NONE --output-format=$format "$@" -o - input.*
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ctags.rb-1.1.3 ext/vendor/ctags/Tmain/utils.sh