macOS
brew install eg-exampleslocal Homebrew formula metadata
安装
brew install eg-exampleslocal Homebrew formula metadata
sudo dnf install egFedora Rawhide package metadata · eg · 来源: dl.fedoraproject.org
概览
Useful examples at the command-line
历史
eg is a command-line examples browser: a companion to man pages that shows short, practical examples for common Unix commands.
The srsudar/eg repository was created in 2015. Its README says the name comes from exempli gratia and positions the tool as a way to get examples for commands like find and tar without reading a full manual page.
eg was packaged for both pip and Homebrew, with the Homebrew formula named eg-examples to avoid colliding with the separate Expert Guide package named eg. The README also documents running from source with a symlink to eg_exec.py.
Users run eg followed by a program name, such as eg find, or run eg --list to see available example topics. Example files live as Markdown in an examples directory, and output is normally paged through less while respecting PAGER.
The tool supports custom example directories, an XDG config file at $XDG_CONFIG_HOME/eg/egrc, a legacy ~/.egrc location, color settings, squeezed output, substitutions, and custom pagers.
eg-examples is a neat package-manager corner case: the upstream command is simply eg, but the Homebrew package name is disambiguated because another historical terminal tool already owns the eg formula name.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
$XDG_CONFIG_HOME/eg/egrc~/.egrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
eg | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:eg-examples |
|---|---|
| 版本 | 1.2.3 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/srsudar/eg |
| Bottle | 未记录 |
| 服务 | 未声明 |
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
eg 1.7.5.2-44.fc45
Git for mere mortals
http://www.gnome.org/~newren/eg/
sudo dnf install eg来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.