mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
ac607960f9
- Update to latest release. (Including use of lesspipe.sh) PR: ports/50823 Submitted by: Michael L. Hostbaek <mich@freebsdcluster.org>
14 lines
253 B
Bash
14 lines
253 B
Bash
#! /bin/sh
|
|
# ex:ts=8
|
|
|
|
# $FreeBSD: /tmp/pcvs/ports/misc/lr/files/lesspipe.sh,v 1.1 2003-04-13 10:43:20 edwin Exp $
|
|
|
|
case "$1" in
|
|
*.Z) uncompress -c $1 2>/dev/null
|
|
;;
|
|
*.gz) gzip -d -c $1 2>/dev/null
|
|
;;
|
|
*.bz2) bzip2 -d -c $1 2>/dev/null
|
|
;;
|
|
esac
|