sh icon indicating copy to clipboard operation
sh copied to clipboard

WIP: add $HOSTTYPE and $OSTYPE

Open zimbatm opened this issue 3 years ago • 3 comments

Bash has those implicit variables set. Do you think it's worth having them in here as well? I don't have the full mapping but happy to keep digging.

zimbatm avatar Sep 07 '22 22:09 zimbatm

This seems perfectly fine to me :) The interpreter generally supports Bash features in a best-effort way, simply because it would be a full-time job for many months to fully implement man bash. So I certainly welcome PRs with tests :)

mvdan avatar Sep 08 '22 20:09 mvdan

Hey! I was wondering if there was an update to this PR? Just hit a similar issue when using Taskfile, it seems to link back to here.

Followed from: https://github.com/go-task/task/issues/396 cc @andreynering

lawrence-c avatar Apr 12 '23 16:04 lawrence-c

Feel free to take over; my plate is currently quite full.

zimbatm avatar Apr 12 '23 21:04 zimbatm