How to Pass Command-line Arguments to a Program Being Pulled from an Environment Variable?

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • gal

  • I am writing some scripts to make certain tasks on my computer easier to do. The script I just finished is called gal which is my application launcher. To get the menu that I use to chose what program I want to run I check for an environment variable called PROMPT_MENU, which for me is set to dmenu -bp, and then I run it within the script as PROMPT_MENU "prompt". What I wanted to ask is if there is a way to pass extra command-line arguments to PROMPT_MENU. Like if I wanted to run specifically gal as gal -c or gal -t. Is there a way to do this with prompt menu? How do I handle this with using the -p argument?

  • 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