awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
dylanaraps avatar

dylanaraps/pure-sh-bibleArchived

0
View on GitHub↗
7,709 stars·368 forks·Shell·MIT·25 views

Pure Sh Bible

This project is a collection of POSIX-compliant shell functions and polyfills designed to replace external binaries with portable, built-in utility implementations. It serves as a compatibility library and utility kit for shell scripting, providing shell-native alternatives to common command line utilities.

The library focuses on removing dependencies on external processes by implementing tasks directly within the shell. This includes the use of shell-native sequences for terminal user interface design, such as text coloring and cursor movement, and the use of built-in pattern matching for text processing instead of external tools.

Capabilities cover a broad range of system operations, including file system analysis, string manipulation, and numeric type validation. The project also provides utilities for key-value configuration parsing, signal handling, and native arithmetic operations.

Features

  • POSIX Shell Utilities - Provides a comprehensive collection of POSIX-compliant shell utility implementations that replace external binaries.
  • POSIX-Compliant Shell Scripts - Provides a collection of utilities implemented strictly using portable POSIX shell syntax.
  • File and Directory Management - Analyzes file paths, directory contents, and line counts without invoking external binaries.
  • Shell-Native Substitutions - Parses strings and configuration files using shell-native substitutions instead of external tools.
  • Number Type Validation - Validates whether a given input value is an integer or a floating-point number.
  • Shell-Native - Checks for integers, floating-point numbers, and string patterns using native shell logic.
  • Glob Pattern Resolvers - Resolves directory contents and file paths using internal shell glob expansion mechanisms.
  • File Content Readers - Retrieves the first few lines, counts total lines, and iterates through file contents line by line.
  • Shell Built-ins - Implements native shell built-ins for arithmetic, string manipulation, and file system analysis.
  • Portable Unix Utilities - Implements portable Unix shell commands that function consistently across different operating systems.
  • Polyfills - Offers shell-native alternatives to external binaries to ensure maximum portability across different Unix-like environments.
  • Arithmetic Operations - Performs basic addition, subtraction, multiplication, division, and bitwise logic using shell arithmetic.
  • Integer Arithmetic - Provides native shell implementations of fundamental integer arithmetic and bitwise operations.
  • String Manipulators - Transforms and analyzes text using shell-native pattern matching and parameter expansion.
  • Path Manipulators - Implements native shell functions to extract directory and base names from paths and verify file permissions.
  • Configuration Parsers - Provides a utility to extract keys and values from configuration files for simple loading.
  • Terminal Escape Sequences - Implements low-level terminal control and cursor positioning using standard ANSI escape sequences.
  • Execution Flow Control - Manages program execution paths using shell-native loops, signal traps, and dynamic variable naming.
  • System Signal Handling - Manages process cleanup and state transitions by trapping system-level interrupt signals.
  • String Manipulation Utilities - Includes native shell operations for trimming whitespace, stripping patterns, and splitting strings.
  • Content Analysis - Provides built-in pattern matching to check if strings contain, start with, or end with specific substrings.
  • Terminal User Interfaces - Creates interactive command-line interfaces using shell-native sequences for coloring and cursor movement.
  • Technical Manuals and Guides - Collection of pure POSIX sh alternatives to external utilities.

Star history

Star history chart for dylanaraps/pure-sh-bibleStar history chart for dylanaraps/pure-sh-bible

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Pure Sh Bible

These projects share indexed features with Pure Sh Bible. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • masterminds/sprigMasterminds avatar

    Masterminds/sprig

    4,692View on GitHub↗

    Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a wide array of custom functions that can be injected into the engine to enable complex data manipulation and logic directly within templates. The project offers specialized capabilities for cryptography, including the generation of private keys, X.509 certificates, and secure password hashes. It also includes advanced logic extensions for semantic versioning comparison, ternary evaluations, and the resolution of environment variables from the host operating system. The library co

    Gogotemplatetemplates
    View on GitHub↗4,692
  • ruanyf/simple-bash-scriptsruanyf avatar

    ruanyf/simple-bash-scripts

    1,919View on GitHub↗

    This project is a collection of reusable Bash scripts designed for system administration, automation, and command-line utility development. It provides a modular library of tools that leverage POSIX-compliant shell execution and standard stream processing to perform tasks directly within Unix-like environments without requiring additional language runtimes. The collection distinguishes itself by offering a broad range of interactive and automated capabilities, including guided command-line menus, time-tracking timers, and remote file synchronization. These scripts are environment-aware, capab

    Shell
    View on GitHub↗1,919
  • carp-lang/carpcarp-lang avatar

    carp-lang/Carp

    5,815View on GitHub↗

    Carp is a statically typed Lisp compiler that compiles Lisp-like syntax directly to C source code, enabling seamless integration with existing C libraries and low-level system programming. It manages memory deterministically at compile time using ownership tracking and linear types, eliminating garbage collection pauses and runtime overhead while ensuring type safety through an inferred static type system. The language distinguishes itself through compile-time macro expansion and metaprogramming capabilities, allowing code generation and transformation before final binary output. It enforces

    Haskellfunctionalfunctional-programminggame-development
    View on GitHub↗5,815
  • rstacruz/cheatsheetsrstacruz avatar

    rstacruz/cheatsheets

    14,429View on GitHub↗

    This project is a comprehensive collection of web development reference guides and technical cheat sheets. It provides a curated set of markdown-based documentation designed to help developers quickly locate syntax patterns and API examples for common web technologies and programming languages. The repository serves as a specialized reference library covering several distinct technical domains. It includes extensive guides for CSS, focusing on selectors, Flexbox, Grid, and responsive layout properties, as well as a DevOps command reference for Docker, Kubernetes, AWS, Ansible, and general she

    SCSS
    View on GitHub↗14,429
Compare all 30 related projects→

Frequently asked questions

What does dylanaraps/pure-sh-bible do?

This project is a collection of POSIX-compliant shell functions and polyfills designed to replace external binaries with portable, built-in utility implementations. It serves as a compatibility library and utility kit for shell scripting, providing shell-native alternatives to common command line utilities.

What are the main features of dylanaraps/pure-sh-bible?

The main features of dylanaraps/pure-sh-bible are: POSIX Shell Utilities, POSIX-Compliant Shell Scripts, File and Directory Management, Shell-Native Substitutions, Number Type Validation, Shell-Native, Glob Pattern Resolvers, File Content Readers.

Which projects share features with dylanaraps/pure-sh-bible?

Projects with overlapping indexed features include: masterminds/sprig — Sprig is a comprehensive library of helper functions designed to extend the Go text template engine. It provides a… ruanyf/simple-bash-scripts — This project is a collection of reusable Bash scripts designed for system administration, automation, and command-line… carp-lang/carp — Carp is a statically typed Lisp compiler that compiles Lisp-like syntax directly to C source code, enabling seamless… rstacruz/cheatsheets — This project is a comprehensive collection of web development reference guides and technical cheat sheets. It provides… andrew-d/static-binaries — This project is a collection of common Unix utilities compiled as statically linked binaries. It provides a portable… mvdan/sh — This project is a POSIX shell toolset providing utilities for parsing, formatting, interpreting, and validating shell…