14/04/2026 23:08, Stephen Hemminger:
> +#!/bin/bash

I'm not sure why bash is required for this script.
It could be just /bin/sh.

[...]
> +    [[ -n "$ANTHROPIC_API_KEY" ]] && available="${available}anthropic,"

If you replace double brackets with single ones,
you should be close to a POSIX shell script.

> +            [[ -z "${2:-}" || "$2" == -* ]] && error "$1 requires an 
> argument"

and replace == with simple = in tests.


Reply via email to