Automic VaultAutomic Vault

brew

使用 Homebrew, MacPorts, Nix, pacman 安装 lesspipe

查看 lesspipe 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install lesspipe

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install lesspipe

MacPorts ports tree · textproc/lesspipe/Portfile · 来源: api.github.com

Linux

Nix已验证 · 92%
nix profile install nixpkgs#lesspipe

nixpkgs package indexes · pkgs/by-name/le/lesspipe/package.nix · 来源: api.github.com

Arch Linux pacman已验证 · 92%
sudo pacman -S lesspipe

Arch Linux sync databases · lesspipe · 来源: geo.mirror.pkgbuild.com

概览

软件包摘要

Input filter for the pager less

命令和别名

  • archive_color
  • lesspipe.sh

历史

项目历史与用法

lesspipe is a long-running input filter for the `less` pager. It sits in a classic Unix niche: let the pager stay simple, but teach it to render compressed files, archives, documents, media metadata, and nested archive structures through an external preprocessor.

项目历史

The project is maintained by Wolfgang Friebel and distributed from the lesspipe web site and the `wofr06/lesspipe` GitHub repository. The maintainer's project page lists early coverage in Linux Magazin 01/2001, CERN Computing Newsletter 01/2002, and Linux User 04/2002, showing that the script was already established in Unix/Linux user circles by the early 2000s.

The changelog shows continuous modernization rather than a frozen shell-script utility: later releases added support for newer archive and document formats, optional syntax colorizers, tab-completion improvements, security fixes, and a 2025 note for a '25 years recursive lesspipe' article.

采用历史

lesspipe's adoption follows the shape of pager culture: users opt into it through `LESSOPEN`, distributions package it as a small helper, and package managers expose it as a lightweight add-on for people who live in terminals. Homebrew, MacPorts, Nix, and Arch package metadata in this batch all list a `lesspipe` package.

使用方式

The common usage is not to run lesspipe as a destination program, but to configure `less` so the filter is called automatically. Once installed, it makes `less archive.tar.gz`, `less file.pdf`, or nested archive inspection behave like ordinary paging instead of a manual extract-convert-open workflow.

为什么软件包爱好者会关心

Package nerds care about lesspipe because it is a compact example of Unix composition aging well: one pager, one environment hook, and a shell-script filter that tracks the moving target of real-world file formats. It also explains why many Linux users expect `less` to be smarter than upstream `less` alone.

时间线

  • 2001: Linux Magazin 01/2001 coverage listed on the maintainer's lesspipe page.
  • 2002: CERN Computing Newsletter 01/2002 and Linux User 04/2002 coverage listed on the maintainer's lesspipe page.
  • 2015: The GitHub repository `wofr06/lesspipe` was created on July 20, 2015.
  • 2025: Version 2.18 noted a '25 years recursive lesspipe' article in the lesspipe.sh wiki.
  • 2026: Version 2.27 was recorded in the changelog on June 10, 2026.

Related projects

  • lesspipe is tightly coupled to `less` and its `LESSOPEN` input-preprocessor mechanism. It also overlaps with tools it delegates to or competes with for specific formats, including archive utilities, document converters, `file`/magic databases, `bat`, Vim/Neovim-based colorizers, and media metadata tools.

安全态势

风险级别:blue

broad file, network, media, or database tool signal.

风险分类器

blue 风险 · 中 置信度 · tool

原因

  • broad file, network, media, or database tool signal

信号

  • text:archive

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
archive_colorcli全局可执行文件
lesspipe.shcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-25
管理器版本2.27
管理器更新时间2026-06-17
本地数据OK
上游当前
检测到的最新版本v2.27

https://github.com/wofr06/lesspipe

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:lesspipe
版本2.27
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/lesspipe
主页https://lesspipe.org
仓库https://github.com/wofr06/lesspipe
上游文档https://lesspipe.org/docs.html
许可证GPL-2.0-only AND GPL-2.0-or-later AND MIT AND (Artistic-1.0-Perl OR GPL-1.0-or-later)
源码归档https://github.com/wofr06/lesspipe/archive/refs/tags/v2.27.tar.gz
最后更新2026-06-17T09:20:36+09:00
Pulseupdated
依赖bash
macOS 提供的库perl
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明
注意事项add the following to your shell profile e.g. ~/.profile or ~/.zshrc: export LESSOPEN="|$HOMEBREW_PREFIX/bin/lesspipe.sh %s"

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namelesspipe
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

lesspipe

nix profile install nixpkgs#lesspipe
  • normalized package name match
  • 匹配方式:Lesspipe
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/le/lesspipe/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
pacman95%

lesspipe 2.26-1

an input filter for the pager less

https://www-zeuthen.desy.de/~friebel/unix/lesspipe.html

sudo pacman -S lesspipe
  • License: GPL-2.0-or-later
  • Architecture: any
  • 1 依赖
  • 18 可选依赖
  • normalized package name match
  • 匹配方式:Lesspipe
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: lesspipe from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

lesspipe

sudo port install lesspipe
  • normalized package name match
  • 匹配方式:Lesspipe
MacPorts ports tree · api.github.com · MacPorts ports tree: textproc/lesspipe/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment