3 Comments
Jul 13, 2023Liked by Tyler Adams

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

echo $OPENAI_API | pbcopy

Expand full comment
author

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

Expand full comment
Jul 13, 2023·edited Jul 13, 2023Liked by Tyler Adams

Nice! I always use:

```

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

```

I'll try to use `cut` more 😀

Expand full comment