#!/bin/bash

# Specify the input file
input_file="absolute_path_to_file_here"

# Specify the program to run
program=<program_here>

# Loop through each line in the input file
while read -r line; do
    # Run the program with the current line as an argument
    "$program" "$line"
done < "$input_file"

Updated: