- May
- 13,802
- 211
Could @WSLPATH be made to automatically use @TRUENAME? I use several SUBST'd drive letters and they don't show up in /mnt/.
Code:
v:\> type json.json
{"created_at":"2019-09-06T15:51:10Z","id":19814066,"tag":"v0.9b11"}
v:\> wsl jq ".tag" %@wslpath[json.json]
jq: error: Could not open file //mnt/v/json.json: No such file or directory
v:\> wsl jq ".tag" %@wslpath[%@truename[json.json]]
"v0.9b11"