Passing a command with double quotes to a function

This page summarizes the projects mentioned and recommended in the original post on /r/bash

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • bash-cache

    Transparent caching layer for bash functions; particularly useful for functions invoked as part of your prompt.

  • Is the goal of your cache function to cache a command if it's been run before? If so you might like to use my bash-cache library :) Even if it's not quite what you're looking for you can poke around the code for some inspiration, it implements a function decorator pattern and demonstrates some hairy uses of eval.

  • bkt

    a subprocess caching utility, available as a command line binary and a Rust library.

  • Alternatively, check out bkt (also mine), which is like bash-cache but for subprocesses instead of shell functions.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts