Vaclav Hula <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]