Commit 8cb8032
committed
fix: strip PID field from awk fallback output on bash < 4
The jq batch cache writes lines as PID<US>session_id<US>model<US>env.
The bash >= 4 associative array path correctly uses PID as the key and
stores only the remaining fields. The bash < 4 awk fallback returned
the full line including PID, causing session_id to contain the PID,
model to contain the session UUID, etc.
Fix the awk command to print only fields 2..NF, matching the output
shape of the associative array code path.
Fixes #131 parent 6be6d82 commit 8cb8032
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
348 | 348 | | |
349 | 349 | | |
350 | 350 | | |
351 | | - | |
| 351 | + | |
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
| |||
0 commit comments