[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Vim @ bzip2



Vaclav Hula <ax@atrey.karlin.mff.cuni.cz> writes:

> Hi all there!
Hi
> P.S. Is something wrong with this:
>  
>        *.tar.gz|*.tgz|*.tar.Z)
>             tar tzvf $1 ;;
> 
>         *.gz|*.Z|*.z)
>             gzip -dc $1 ;;
> 
> +        *.tar.bz2|*.tbz2)
> +            tar tIvf $1 ;;
Tar forks to bzip2, so that should be present.
> +
> +        *.bz2)
> +            if [ -x /usr/bin/bunzip2]; then bunzip2 -c $1; else echo "No bunzip2 available"; fi ;;
Try "bzip2 -d" as a fallback to bunzip2.
> +
>         *.tar)
>             tar tvf $1 ;;
> 
> in /usr/bin/lessfile, or is error in something else (prints compressed garbage on bzipped files)

May the Source be with you.
			Mrvn


--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org


Reply to: