Skip to content

Instantly share code, notes, and snippets.

@mpejsa-bit
mpejsa-bit / ag_commit.sh
Created April 1, 2026 23:13
AutoGit ag_commit.sh optimized
#!/bin/sh
# ag_commit.sh - AutoGit batch commit driver
#
# Reads config from .cfg file (including PAT), enumerates members,
# exports to IFS, and calls run_commit.sh. This script runs entirely
# in QSH/PASE to avoid CL-to-QSH quoting and DTAARA roundtrip pain.
#
# Usage: ag_commit.sh <config_name>
#
# Required env vars (set by AGBATCH CL before QSH CMD):