Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Install seq, a sequence generator' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Install seq, a sequence generator
Authored by: patrickoehlinger on Dec 13, '03 07:33:23AM
If you just need seq, I found it more easy to place the following function in my .bashrc file.

function seq() {
    local I=$1;
    while [ $2 != $I ]; do
        {
            echo -n "$I ";
            I=$(( $I + 1 ))
        };
    done;
    echo $2
}
To do so, type pico ~/.bashrc in your Terminal and copy the above code.

[ Reply to This | # ]