Automic VaultAutomic Vault

brew

gsar mit Homebrew installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für gsar in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install gsar

local Homebrew formula metadata

Überblick

Paketzusammenfassung

General Search And Replace on files

Befehle und Aliase

  • gsar

Verlauf

Projektgeschichte und Nutzung

gsar is Tormod Tjaberg and Hans Peter Verne's General Search And Replace utility, a command-line search-and-replace tool for text and binary files. Its official manual describes it as a binary-aware grep-like utility without regular-expression support, using a Boyer-Moore-derived search algorithm.

Projektgeschichte

The official source archive identifies the program as gsar 1.51 and credits Tormod Tjaberg and Hans Peter Verne for 1992-2020 copyright. The change log starts with early 1992 implementation work, followed by a sequence of DOS, Unix, compiler-portability, and buffer-handling releases.

The 1996 1.10 release was a major rewrite of the search and replace code, with easier Unix compilation, generated Boyer-Moore-Gosper tables at runtime, and safer handling of directories and buffers. Later releases were quieter maintenance updates, including MinGW support in 2002, larger search buffers and documentation cleanup in 2008, new text modifiers in 2019, and explicit 64-bit file offsets in 2020.

Adoptionsgeschichte

The official homepage says the archive includes full source and DOS/Win32 executables, while most programs compile under Unix as well. Homebrew packages gsar as a small Unix-style command-line utility, which reflects its continued use as a portable binary search-and-replace tool rather than a large active ecosystem.

The homepage notes that gsar was selected as PriceLessWare 2006, indicating some Windows freeware-era recognition before its later package-manager life on Unix-like systems.

Wie es verwendet wird

gsar searches one or more input files, optionally replaces matches, can overwrite multiple files, and can operate as a stdin/stdout filter. The manual emphasizes binary-safe strings, byte offsets, hex entry, DOS-to-Unix and Unix-to-DOS conversion helpers, and context display.

Typical package-manager usage is for scripts or one-off maintenance where byte-oriented search and replace is needed without regular expressions, especially across binary files or files containing control characters.

Warum Paket-Nerds sich dafür interessieren

gsar is package-nerd interesting because it is a compact old utility that still fills a sharp niche: binary-safe search and replacement with source available, no runtime dependency stack, and behavior stable enough for packaging.

Its long change log is a small history of portability work across DOS, Windows, Unix, MinGW, compiler quirks, large-file offsets, and command-line parsing, which is exactly the sort of maintenance package managers preserve for users who need the old tool to keep working.

Zeitleiste

  • 1992: Official change log records main program and parser work.
  • 1993: Version 1.05 implements filter mode and faster disk I/O.
  • 1996: Version 1.10 rewrites search and replace code and improves Unix compilation.
  • 2002: Version 1.11 adds MinGW support and ships a Win32 executable.
  • 2008: Version 1.21 expands search and replace buffers and refreshes documentation.
  • 2019: Version 1.50 adds wide-character and hexadecimal text modifiers.
  • 2020: Version 1.51 adds explicit 64-bit file offsets.

Related projects

  • gsar sits near grep, sed, tr, binary patching tools, and small DOS/Unix text-processing utilities, but its official documentation emphasizes binary search and replace rather than line-oriented regular-expression processing.

Sicherheitslage

Risikostufe: yellow

generalized runtime or code generation signal.

Risikoklassifikator

yellow Risiko · mittel Konfidenz · runtime

Warum

  • generalized runtime or code generation signal

Signale

  • text:repl

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 13 Plattformziele verfügbar.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
gsarcliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-08
Manager-Version1.51
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://tjaberg.com/

  • InfoNo package-manager update timestamp was available.niedrig Konfidenz
  • InfoRelease/tag comparison is only available for GitHub repositories.https://tjaberg.com/none Konfidenz

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:gsar
Version1.51
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/gsar
Homepagehttps://tjaberg.com/
Upstream-Dokumentationhttps://tjaberg.com/
LizenzGPL-2.0-only
Quellarchivhttps://tjaberg.com/gsar151.zip
Bottleverfügbar (auf arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

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

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

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