dot rc

Sign in or create your account | Project List | Help

dot rc Commit Details

Date:2010-08-17 09:46:50 (1 year 5 months ago)
Author:Luciano Rocha
Commit:7a4c0da3cae702016a9d1a8e75394741612e7465
Message:vim: convert Perl::Module to module file

Files: rc/bash_functions (1 diff)

Change Details

rc/bash_functions
456456            args=("${args[@]}" "$a")
457457            continue
458458        fi
459
460        if [ -z "${a##*::*}" ]; then
461            # perl module, find source with the help of perldoc
462            t=$(perldoc -l "$a" 2>/dev/null)
463            if [ -n "$t" ]; then
464                args=("${args[@]}" "$t")
465                continue
466            fi
467        fi
468
459469        ## remove trailing ':', output by grep -n, for instance
460470        aa="${a/%:}"
461471        if [ "$aa" != "${aa%:[0-9]*}" ]; then

Archive Download the corresponding diff file

Branches:
master