3 Comments
User's avatar
George's avatar

instead of parsing the env output. how about having the shell do it for you.

echo $OPENAI_API | pbcopy

Expand full comment
Tyler Adams's avatar

but then I wouldn't have a fun teachable moment ;)

Expand full comment
Shani's avatar

Nice! I always use:

```

tr '=' '\t' | awk '{print $2}'

```

I'll try to use `cut` more 😀

Expand full comment